forked from qt-creator/qt-creator
Remove some unused member variables
Change-Id: I4b1bcfe8da32bd48c601d1efdb7c3aac1d39cbce Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
2
src/libs/3rdparty/cplusplus/Parser.cpp
vendored
2
src/libs/3rdparty/cplusplus/Parser.cpp
vendored
@@ -44,12 +44,10 @@ using namespace CPlusPlus;
|
|||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
class DebugRule {
|
class DebugRule {
|
||||||
const char *name;
|
|
||||||
static int depth;
|
static int depth;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DebugRule(const char *name, const char *spell, unsigned idx, bool blocked)
|
DebugRule(const char *name, const char *spell, unsigned idx, bool blocked)
|
||||||
: name(name)
|
|
||||||
{
|
{
|
||||||
for (int i = 0; i <= depth; ++i)
|
for (int i = 0; i <= depth; ++i)
|
||||||
fputc('-', stderr);
|
fputc('-', stderr);
|
||||||
|
@@ -385,8 +385,7 @@ FullySpecifiedType ApplySubstitution::applySubstitution(int index) const
|
|||||||
} // end of anonymous namespace
|
} // end of anonymous namespace
|
||||||
|
|
||||||
DeprecatedGenTemplateInstance::DeprecatedGenTemplateInstance(QSharedPointer<Control> control, const Substitution &substitution)
|
DeprecatedGenTemplateInstance::DeprecatedGenTemplateInstance(QSharedPointer<Control> control, const Substitution &substitution)
|
||||||
: _symbol(0),
|
: _control(control),
|
||||||
_control(control),
|
|
||||||
_substitution(substitution)
|
_substitution(substitution)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
@@ -54,7 +54,6 @@ private:
|
|||||||
FullySpecifiedType gen(Symbol *symbol);
|
FullySpecifiedType gen(Symbol *symbol);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Symbol *_symbol;
|
|
||||||
QSharedPointer<Control> _control;
|
QSharedPointer<Control> _control;
|
||||||
const Substitution _substitution;
|
const Substitution _substitution;
|
||||||
};
|
};
|
||||||
|
@@ -510,7 +510,6 @@ Check::Check(Document::Ptr doc, const ContextPtr &context)
|
|||||||
, _context(context)
|
, _context(context)
|
||||||
, _scopeChain(doc, _context)
|
, _scopeChain(doc, _context)
|
||||||
, _scopeBuilder(&_scopeChain)
|
, _scopeBuilder(&_scopeChain)
|
||||||
, _lastValue(0)
|
|
||||||
, _importsOk(false)
|
, _importsOk(false)
|
||||||
, _inStatementBinding(false)
|
, _inStatementBinding(false)
|
||||||
{
|
{
|
||||||
|
@@ -130,7 +130,6 @@ private:
|
|||||||
QList<StaticAnalysis::Message> _messages;
|
QList<StaticAnalysis::Message> _messages;
|
||||||
QSet<StaticAnalysis::Type> _enabledMessages;
|
QSet<StaticAnalysis::Type> _enabledMessages;
|
||||||
|
|
||||||
const Value *_lastValue;
|
|
||||||
QList<AST::Node *> _chain;
|
QList<AST::Node *> _chain;
|
||||||
QStack<StringSet> m_idStack;
|
QStack<StringSet> m_idStack;
|
||||||
QStack<StringSet> m_propertyStack;
|
QStack<StringSet> m_propertyStack;
|
||||||
|
Reference in New Issue
Block a user