Skip to content
Commit 9ce302ed authored by Richard Smith's avatar Richard Smith
Browse files

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;

llvm-svn: 186061
parent c6b5e249
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment