diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-01-15 06:49:38 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-01-15 06:49:38 +0000 |
commit | d3e723e28848e4d33e58249042ca14df9308d1b9 (patch) | |
tree | 7b8e5644d675c7893872bffc82b99d16f9f2e265 /lib/Sema/SemaLookup.cpp | |
parent | 50a70cd11801fd9a700d06e447095249c34c261f (diff) |
PR14918: Don't confuse braced-init-lists after template variable declarations
with function definitions.
We really should remove Parser::isDeclarationAfterDeclarator entirely, since
it's meaningless in C++11 (an open brace could be either a function definition
or an initializer, which is what it's trying to differentiate between). The
other caller of it happens to be correct right now...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaLookup.cpp')
0 files changed, 0 insertions, 0 deletions