forked from qt-creator/qt-creator
C++: Inline Lexer::control()
Change-Id: Ia37ec33fb031fdea4ad1890fcea3a80b7b46e272 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
3
src/libs/3rdparty/cplusplus/Lexer.h
vendored
3
src/libs/3rdparty/cplusplus/Lexer.h
vendored
@@ -43,7 +43,7 @@ public:
|
||||
Lexer(const char *firstChar, const char *lastChar);
|
||||
~Lexer();
|
||||
|
||||
Control *control() const;
|
||||
Control *control() const { return _control; }
|
||||
TranslationUnit *translationUnit() const;
|
||||
|
||||
bool qtMocRunEnabled() const;
|
||||
@@ -118,6 +118,7 @@ private:
|
||||
};
|
||||
|
||||
TranslationUnit *_translationUnit;
|
||||
Control *_control;
|
||||
const char *_firstChar;
|
||||
const char *_currentChar;
|
||||
const char *_lastChar;
|
||||
|
||||
Reference in New Issue
Block a user