]> granicus.if.org Git - clang/commit
If we see a declaration which is either missing a type or has a malformed type,
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 15 May 2012 21:29:55 +0000 (21:29 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 15 May 2012 21:29:55 +0000 (21:29 +0000)
commit8f0a7e7845f619575f8af0b0bf46d027b20a0b63
tree35d7456dfe830c00b981f0558369333035e7d56b
parent827adaff666e53ae2f2db994bcd62ebe1ff5b9ce
If we see a declaration which is either missing a type or has a malformed type,
and the thing we have has a scope specifier, and we're in a context that doesn't
allow declaring a qualified name, then the error is a malformed type, not a
missing type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156856 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp
test/SemaCXX/unknown-type-name.cpp