diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-07-11 05:10:21 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-07-11 05:10:21 +0000 |
| commit | a38253c3e7dbd2b5aadb0556845dc3848168b904 (patch) | |
| tree | 9fdfb1c04fc481dc7880068b6ffed070d102ad33 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | fd5c726ab3db60d3e1be8348f6f03bb3e04ffdde (diff) | |
| download | clang-a38253c3e7dbd2b5aadb0556845dc3848168b904.tar.gz clang-a38253c3e7dbd2b5aadb0556845dc3848168b904.tar.bz2 clang-a38253c3e7dbd2b5aadb0556845dc3848168b904.tar.xz | |
PR5066: If a declarator cannot have an identifier, and cannot possibly be
followed by an identifier, then diagnose an identifier as being a bogus part of
the declarator instead of tripping over it. Improves diagnostics for cases like
std::vector<const int *p> my_vec;
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186061 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
