forked from qt-creator/qt-creator
C++11: first set of changes for decltype.
Change-Id: I49d6ff7eb1805cd07bdfcb27bb37d4c6cadc9115 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
@@ -2031,6 +2031,15 @@ bool FindUsages::visit(TypeofSpecifierAST *ast)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool FindUsages::visit(DecltypeSpecifierAST *ast)
|
||||
{
|
||||
// unsigned typeof_token = ast->typeof_token;
|
||||
// unsigned lparen_token = ast->lparen_token;
|
||||
this->expression(ast->expression);
|
||||
// unsigned rparen_token = ast->rparen_token;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool FindUsages::visit(ClassSpecifierAST *ast)
|
||||
{
|
||||
// unsigned classkey_token = ast->classkey_token;
|
||||
|
||||
@@ -265,6 +265,7 @@ protected:
|
||||
virtual bool visit(SimpleSpecifierAST *ast);
|
||||
virtual bool visit(AttributeSpecifierAST *ast);
|
||||
virtual bool visit(TypeofSpecifierAST *ast);
|
||||
virtual bool visit(DecltypeSpecifierAST *ast);
|
||||
virtual bool visit(ClassSpecifierAST *ast);
|
||||
virtual bool visit(NamedTypeSpecifierAST *ast);
|
||||
virtual bool visit(ElaboratedTypeSpecifierAST *ast);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
TEMPLATE = lib
|
||||
TARGET = CPlusPlus
|
||||
|
||||
DEFINES += NDEBUG
|
||||
#DEFINES += NDEBUG
|
||||
unix:QMAKE_CXXFLAGS_DEBUG += -O2
|
||||
|
||||
include(../../qtcreatorlibrary.pri)
|
||||
|
||||
Reference in New Issue
Block a user