summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@digia.com>2013-12-13 18:32:15 +0100
committerNikolai Kosjar <nikolai.kosjar@digia.com>2014-05-15 14:47:39 +0200
commit6f63f6b647e033c548fe67fbd88c2ec2b1b079d6 (patch)
tree9fd608e8d07eab2195eea76bbc0adae1ff78f6cb /src
parentd84bd0b359db5caaf437bafa3a03b10743926159 (diff)
downloadqt-creator-6f63f6b647e033c548fe67fbd88c2ec2b1b079d6.tar.gz
C++: Remove unused functions in Lexer
Change-Id: I78b70eead1c64b9925272c50cc6109c5b415574d Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/libs/3rdparty/cplusplus/Lexer.cpp9
-rw-r--r--src/libs/3rdparty/cplusplus/Lexer.h5
2 files changed, 0 insertions, 14 deletions
diff --git a/src/libs/3rdparty/cplusplus/Lexer.cpp b/src/libs/3rdparty/cplusplus/Lexer.cpp
index 55ff233536..a5112ba819 100644
--- a/src/libs/3rdparty/cplusplus/Lexer.cpp
+++ b/src/libs/3rdparty/cplusplus/Lexer.cpp
@@ -110,15 +110,6 @@ unsigned Lexer::tokenOffset() const
unsigned Lexer::tokenLength() const
{ return _currentChar - _tokenStart; }
-const char *Lexer::tokenBegin() const
-{ return _tokenStart; }
-
-const char *Lexer::tokenEnd() const
-{ return _currentChar; }
-
-unsigned Lexer::currentLine() const
-{ return _currentLine; }
-
void Lexer::scan(Token *tok)
{
tok->reset();
diff --git a/src/libs/3rdparty/cplusplus/Lexer.h b/src/libs/3rdparty/cplusplus/Lexer.h
index 12cef91b4d..85fe6d2d6b 100644
--- a/src/libs/3rdparty/cplusplus/Lexer.h
+++ b/src/libs/3rdparty/cplusplus/Lexer.h
@@ -46,9 +46,6 @@ public:
unsigned tokenOffset() const;
unsigned tokenLength() const;
- const char *tokenBegin() const;
- const char *tokenEnd() const;
- unsigned currentLine() const;
bool scanCommentTokens() const;
void setScanCommentTokens(bool onoff);
@@ -121,10 +118,8 @@ private:
};
unsigned _currentLine;
LanguageFeatures _languageFeatures;
-
};
} // namespace CPlusPlus
-
#endif // CPLUSPLUS_LEXER_H