]> granicus.if.org Git - clang/commit
Push the knowledge that we are parsing a type-id/type-name further into the
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 9 May 2012 20:55:26 +0000 (20:55 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 9 May 2012 20:55:26 +0000 (20:55 +0000)
commita971d2410fabb093954c4119d2287ac24208ea8d
tree61c2c8b0c5447ea968a8ed3fa7ac76e446cf6e38
parentf63eee78a3ed50a974d0963623a06888ecd4ef6b
Push the knowledge that we are parsing a type-id/type-name further into the
parser, and use it to emit better diagnostics in cases where an identifer
can't be looked up as a type name.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156508 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/Parser.h
lib/Parse/ParseDecl.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p2-0x.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct/p9-0x.cpp
test/Parser/cxx-throw.cpp
test/Parser/cxx11-type-specifier.cpp