forked from qt-creator/qt-creator
CPlusPlus: Make (sub-)languague selection more generic
Change-Id: I4e2df6992b446adec662ab07671acd41715e41fd Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
13
src/libs/3rdparty/cplusplus/Parser.h
vendored
13
src/libs/3rdparty/cplusplus/Parser.h
vendored
@@ -36,15 +36,6 @@ public:
|
||||
Parser(TranslationUnit *translationUnit);
|
||||
~Parser();
|
||||
|
||||
bool qtMocRunEnabled() const;
|
||||
void setQtMocRunEnabled(bool onoff);
|
||||
|
||||
bool cxx0xEnabled() const;
|
||||
void setCxxOxEnabled(bool onoff);
|
||||
|
||||
bool objCEnabled() const;
|
||||
void setObjCEnabled(bool onoff);
|
||||
|
||||
bool parseTranslationUnit(TranslationUnitAST *&node);
|
||||
|
||||
public:
|
||||
@@ -315,11 +306,9 @@ private:
|
||||
TranslationUnit *_translationUnit;
|
||||
Control *_control;
|
||||
MemoryPool *_pool;
|
||||
LanguageFeatures _languageFeatures;
|
||||
unsigned _tokenIndex;
|
||||
bool _templateArguments: 1;
|
||||
bool _qtMocRunEnabled: 1;
|
||||
bool _cxx0xEnabled: 1;
|
||||
bool _objCEnabled: 1;
|
||||
bool _inFunctionBody: 1;
|
||||
bool _inObjCImplementationContext: 1;
|
||||
bool _inExpressionStatement: 1;
|
||||
|
||||
Reference in New Issue
Block a user