]> granicus.if.org Git - clang/commit
If we see '(...' where we're expecting an abstract-declarator, that doesn't
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 27 Mar 2012 23:05:05 +0000 (23:05 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 27 Mar 2012 23:05:05 +0000 (23:05 +0000)
commit2259286fc5c1514089b17ec93e26ca56ba8ac2b6
tree8c80877710f48152b9a04dd55c6169f3aaaa12b8
parentb49a29f7e4413a7a014a2b28c5c25fe54e005cf3
If we see '(...' where we're expecting an abstract-declarator, that doesn't
necessarily mean we've found a function declarator. If the next token is not
a ')', this is actually a parenthesized pack expansion.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153544 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp
lib/Parse/ParseTentative.cpp
test/Parser/cxx0x-ambig.cpp