diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2010-03-24 12:54:25 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2010-03-24 13:49:02 +0100 |
commit | 8329d7db943bef3f7929d3802fc31f60e314e179 (patch) | |
tree | dabef77315dda11ce9f01250e788a4b5e044a9a4 /src/shared/cplusplus/ASTMatcher.h | |
parent | 35be3a9f6c916ddb087628d66bb4bb4e76a1daa5 (diff) | |
download | qt-creator-8329d7db943bef3f7929d3802fc31f60e314e179.tar.gz |
Recognize C++0x lambda expressions.
Diffstat (limited to 'src/shared/cplusplus/ASTMatcher.h')
-rw-r--r-- | src/shared/cplusplus/ASTMatcher.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/cplusplus/ASTMatcher.h b/src/shared/cplusplus/ASTMatcher.h index baae1ce874..d3fcab5dcf 100644 --- a/src/shared/cplusplus/ASTMatcher.h +++ b/src/shared/cplusplus/ASTMatcher.h @@ -170,6 +170,12 @@ public: virtual bool match(ObjCDynamicPropertiesDeclarationAST *node, ObjCDynamicPropertiesDeclarationAST *pattern); virtual bool match(ObjCFastEnumerationAST *node, ObjCFastEnumerationAST *pattern); virtual bool match(ObjCSynchronizedStatementAST *node, ObjCSynchronizedStatementAST *pattern); + virtual bool match(LambdaExpressionAST *node, LambdaExpressionAST *pattern); + virtual bool match(LambdaIntroducerAST *node, LambdaIntroducerAST *pattern); + virtual bool match(LambdaCaptureAST *node, LambdaCaptureAST *pattern); + virtual bool match(LambdaDeclaratorAST *node, LambdaDeclaratorAST *pattern); + virtual bool match(CaptureAST *node, CaptureAST *pattern); + virtual bool match(TrailingReturnTypeAST *node, TrailingReturnTypeAST *pattern); }; } // end of namespace CPlusPlus |