forked from qt-creator/qt-creator
C++: Inline {TranslationUnit,Parser}::blockErrors
As indicated by profiling. Change-Id: I04d741dcc6200eb351d7aec316572e0e94ef5bec Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
3
src/libs/3rdparty/cplusplus/Parser.cpp
vendored
3
src/libs/3rdparty/cplusplus/Parser.cpp
vendored
@@ -216,9 +216,6 @@ bool Parser::maybeSplitGreaterGreaterToken(int n)
|
||||
return _translationUnit->maybeSplitGreaterGreaterToken(_tokenIndex + n - 1);
|
||||
}
|
||||
|
||||
bool Parser::blockErrors(bool block)
|
||||
{ return _translationUnit->blockErrors(block); }
|
||||
|
||||
bool Parser::skipUntil(int token)
|
||||
{
|
||||
while (int tk = LA()) {
|
||||
|
||||
Reference in New Issue
Block a user