forked from qt-creator/qt-creator
C++: Remove unused functions in Lexer
Change-Id: I79285a9fc72f26bdfb7c1600d4e7680e02062593 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
185d03bbb5
commit
2216c399e5
6
src/libs/3rdparty/cplusplus/Lexer.cpp
vendored
6
src/libs/3rdparty/cplusplus/Lexer.cpp
vendored
@@ -81,12 +81,6 @@ int Lexer::state() const
|
|||||||
void Lexer::setState(int state)
|
void Lexer::setState(int state)
|
||||||
{ _state = state; }
|
{ _state = state; }
|
||||||
|
|
||||||
bool Lexer::isIncremental() const
|
|
||||||
{ return f._isIncremental; }
|
|
||||||
|
|
||||||
void Lexer::setIncremental(bool isIncremental)
|
|
||||||
{ f._isIncremental = isIncremental; }
|
|
||||||
|
|
||||||
bool Lexer::scanCommentTokens() const
|
bool Lexer::scanCommentTokens() const
|
||||||
{ return f._scanCommentTokens; }
|
{ return f._scanCommentTokens; }
|
||||||
|
|
||||||
|
|||||||
4
src/libs/3rdparty/cplusplus/Lexer.h
vendored
4
src/libs/3rdparty/cplusplus/Lexer.h
vendored
@@ -70,9 +70,6 @@ public:
|
|||||||
int state() const;
|
int state() const;
|
||||||
void setState(int state);
|
void setState(int state);
|
||||||
|
|
||||||
bool isIncremental() const;
|
|
||||||
void setIncremental(bool isIncremental);
|
|
||||||
|
|
||||||
LanguageFeatures languageFeatures() const { return _languageFeatures; }
|
LanguageFeatures languageFeatures() const { return _languageFeatures; }
|
||||||
void setLanguageFeatures(LanguageFeatures features) { _languageFeatures = features; }
|
void setLanguageFeatures(LanguageFeatures features) { _languageFeatures = features; }
|
||||||
|
|
||||||
@@ -101,7 +98,6 @@ private:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
struct Flags {
|
struct Flags {
|
||||||
unsigned _isIncremental: 1;
|
|
||||||
unsigned _scanCommentTokens: 1;
|
unsigned _scanCommentTokens: 1;
|
||||||
unsigned _scanKeywords: 1;
|
unsigned _scanKeywords: 1;
|
||||||
unsigned _scanAngleStringLiteralTokens: 1;
|
unsigned _scanAngleStringLiteralTokens: 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user