diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2014-01-20 09:06:15 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2014-01-20 12:29:15 +0100 |
commit | 2216c399e54431245e9ecc4fe780acc0038da262 (patch) | |
tree | 186a2ecd362edc263d428400e6ab4773d2d15127 /src/libs/3rdparty/cplusplus | |
parent | 185d03bbb5d8664413756394275be675005efb37 (diff) |
C++: Remove unused functions in Lexer
Change-Id: I79285a9fc72f26bdfb7c1600d4e7680e02062593
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/libs/3rdparty/cplusplus')
-rw-r--r-- | src/libs/3rdparty/cplusplus/Lexer.cpp | 6 | ||||
-rw-r--r-- | src/libs/3rdparty/cplusplus/Lexer.h | 4 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/libs/3rdparty/cplusplus/Lexer.cpp b/src/libs/3rdparty/cplusplus/Lexer.cpp index 0e0d1f43300..40ae37daee3 100644 --- a/src/libs/3rdparty/cplusplus/Lexer.cpp +++ b/src/libs/3rdparty/cplusplus/Lexer.cpp @@ -81,12 +81,6 @@ int Lexer::state() const void Lexer::setState(int state) { _state = state; } -bool Lexer::isIncremental() const -{ return f._isIncremental; } - -void Lexer::setIncremental(bool isIncremental) -{ f._isIncremental = isIncremental; } - bool Lexer::scanCommentTokens() const { return f._scanCommentTokens; } diff --git a/src/libs/3rdparty/cplusplus/Lexer.h b/src/libs/3rdparty/cplusplus/Lexer.h index 63236104e82..9d4b7b601d2 100644 --- a/src/libs/3rdparty/cplusplus/Lexer.h +++ b/src/libs/3rdparty/cplusplus/Lexer.h @@ -70,9 +70,6 @@ public: int state() const; void setState(int state); - bool isIncremental() const; - void setIncremental(bool isIncremental); - LanguageFeatures languageFeatures() const { return _languageFeatures; } void setLanguageFeatures(LanguageFeatures features) { _languageFeatures = features; } @@ -101,7 +98,6 @@ private: private: struct Flags { - unsigned _isIncremental: 1; unsigned _scanCommentTokens: 1; unsigned _scanKeywords: 1; unsigned _scanAngleStringLiteralTokens: 1; |