summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorHubert Tong <hubert.reinterpretcast@gmail.com>2017-05-20 00:21:55 +0000
committerHubert Tong <hubert.reinterpretcast@gmail.com>2017-05-20 00:21:55 +0000
commit605eacafa7540ae893e6083bc03387914d11e798 (patch)
treed0a9bebcfb81a8a655c5ba5937a9ea028cc3cd5c /clang/lib/CodeGen/CodeGenModule.cpp
parente7cfcbd5dc9da3643a69548526d5955afc987a47 (diff)
downloadbcm5719-llvm-605eacafa7540ae893e6083bc03387914d11e798.tar.gz
bcm5719-llvm-605eacafa7540ae893e6083bc03387914d11e798.zip
Fix valid-for-expr ellipses eaten as invalid decl
Summary: The trial parse for declarative syntax accepts an invalid pack declaration syntax, which is ambiguous with valid pack expansions of expressions. This commit removes the invalid pack declaration syntax to avoid mistaking valid pack expansions as invalid declarator components. Additionally, the trial parse of a //template-argument-list// then needs to handle the optional ellipsis that is part of that grammar, as opposed to relying on the trial parse for declarators accepting stray ellipses. Reviewers: rsmith, rcraik, aaron.ballman Reviewed By: rsmith Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D33339 llvm-svn: 303472
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud