summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/ASTMatcher.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2010-03-23 13:52:24 +0100
committerRoberto Raggi <roberto.raggi@nokia.com>2010-03-23 14:13:22 +0100
commitae715143606c1c432aa6f934578c10c3eee69f76 (patch)
treec048984d7dbb6e4458d36efd1f954addd81f3313 /src/shared/cplusplus/ASTMatcher.cpp
parent8b625a867c24a9dd62a3c6c866622284eafd24c7 (diff)
downloadqt-creator-ae715143606c1c432aa6f934578c10c3eee69f76.tar.gz
Parse C++0x base-specifier-list.
Diffstat (limited to 'src/shared/cplusplus/ASTMatcher.cpp')
-rw-r--r--src/shared/cplusplus/ASTMatcher.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/cplusplus/ASTMatcher.cpp b/src/shared/cplusplus/ASTMatcher.cpp
index 31024bd05f..84623bb610 100644
--- a/src/shared/cplusplus/ASTMatcher.cpp
+++ b/src/shared/cplusplus/ASTMatcher.cpp
@@ -570,6 +570,8 @@ bool ASTMatcher::match(ClassSpecifierAST *node, ClassSpecifierAST *pattern)
else if (! AST::match(node->base_clause_list, pattern->base_clause_list, this))
return false;
+ pattern->dot_dot_dot_token = node->dot_dot_dot_token;
+
pattern->lbrace_token = node->lbrace_token;
if (! pattern->member_specifier_list)
@@ -706,6 +708,8 @@ bool ASTMatcher::match(CtorInitializerAST *node, CtorInitializerAST *pattern)
else if (! AST::match(node->member_initializer_list, pattern->member_initializer_list, this))
return false;
+ pattern->dot_dot_dot_token = node->dot_dot_dot_token;
+
return true;
}