commit | a38253c3e7dbd2b5aadb0556845dc3848168b904 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Jul 11 05:10:21 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Jul 11 05:10:21 2013 +0000 |
tree | 9fdfb1c04fc481dc7880068b6ffed070d102ad33 | |
parent | fd5c726ab3db60d3e1be8348f6f03bb3e04ffdde [diff] |
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