Parse C++ 0x argument packs.

This commit is contained in:
Roberto Raggi
2010-03-25 12:15:38 +01:00
parent 1bdae0815d
commit fe261bc256
13 changed files with 220 additions and 6 deletions

View File

@@ -1137,3 +1137,11 @@ bool TrailingReturnTypeAST::match0(AST *pattern, ASTMatcher *matcher)
return false;
}
bool BracedInitializerAST::match0(AST *pattern, ASTMatcher *matcher)
{
if (BracedInitializerAST *_other = pattern->asBracedInitializer())
return matcher->match(this, _other);
return false;
}