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 {
|
||||
|
||||
class DebugRule {
|
||||
const char *name;
|
||||
static int depth;
|
||||
|
||||
public:
|
||||
DebugRule(const char *name, const char *spell, unsigned idx, bool blocked)
|
||||
: name(name)
|
||||
{
|
||||
for (int i = 0; i <= depth; ++i)
|
||||
fputc('-', stderr);
|
||||
|
@@ -385,8 +385,7 @@ FullySpecifiedType ApplySubstitution::applySubstitution(int index) const
|
||||
} // end of anonymous namespace
|
||||
|
||||
DeprecatedGenTemplateInstance::DeprecatedGenTemplateInstance(QSharedPointer<Control> control, const Substitution &substitution)
|
||||
: _symbol(0),
|
||||
_control(control),
|
||||
: _control(control),
|
||||
_substitution(substitution)
|
||||
{ }
|
||||
|
||||
|
@@ -54,7 +54,6 @@ private:
|
||||
FullySpecifiedType gen(Symbol *symbol);
|
||||
|
||||
private:
|
||||
Symbol *_symbol;
|
||||
QSharedPointer<Control> _control;
|
||||
const Substitution _substitution;
|
||||
};
|
||||
|
@@ -510,7 +510,6 @@ Check::Check(Document::Ptr doc, const ContextPtr &context)
|
||||
, _context(context)
|
||||
, _scopeChain(doc, _context)
|
||||
, _scopeBuilder(&_scopeChain)
|
||||
, _lastValue(0)
|
||||
, _importsOk(false)
|
||||
, _inStatementBinding(false)
|
||||
{
|
||||
|
@@ -130,7 +130,6 @@ private:
|
||||
QList<StaticAnalysis::Message> _messages;
|
||||
QSet<StaticAnalysis::Type> _enabledMessages;
|
||||
|
||||
const Value *_lastValue;
|
||||
QList<AST::Node *> _chain;
|
||||
QStack<StringSet> m_idStack;
|
||||
QStack<StringSet> m_propertyStack;
|
||||
|
Reference in New Issue
Block a user