C++: Support ellipsis on variadic inheritance parsing

Change-Id: I571aefdb1f2aba88ba0c7710f16b6d8ad2e8f5a8
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
Johannes Lorenz
2015-02-25 21:22:16 +01:00
committed by Orgad Shaneh
parent 697479572f
commit 2a966a8917
10 changed files with 79 additions and 3 deletions

View File

@@ -462,6 +462,8 @@ bool ASTMatcher::match(BaseSpecifierAST *node, BaseSpecifierAST *pattern)
else if (! AST::match(node->name, pattern->name, this))
return false;
pattern->ellipsis_token = node->ellipsis_token;
return true;
}