C++: Use more direct approach to recognize special Qt tokens

Change-Id: I45399a196500cbc6aecedfaa94a50890914906f1
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
hjk
2013-04-16 18:10:35 +02:00
parent 080bf4ecb8
commit 357ffaa8bc
3 changed files with 60 additions and 58 deletions

View File

@@ -230,9 +230,6 @@ private:
void handleEndIfDirective(PPToken *tk, const PPToken &poundToken);
void handleIfDefDirective(bool checkUndefined, PPToken *tk);
void handleUndefDirective(PPToken *tk);
static bool isQtReservedWord(const ByteArrayRef &name);
void trackExpansionCycles(PPToken *tk);
QByteArray &currentOutputBuffer() { return *m_state.m_currentExpansion; }