]> granicus.if.org Git - clang/commit
Improve the diagnostic given when referring to a tag type without a tag (in C)
authorJohn McCall <rjmccall@apple.com>
Sun, 14 Feb 2010 01:03:10 +0000 (01:03 +0000)
committerJohn McCall <rjmccall@apple.com>
Sun, 14 Feb 2010 01:03:10 +0000 (01:03 +0000)
commit23e907ab9119ccfdff17b3808a770c5a6707fb95
treee44f61a17c3c6bfc84850c89c1e727da48e558aa
parent8f7af125c0dddb73dfda2ddb6b5c61d61a15cb15
Improve the diagnostic given when referring to a tag type without a tag (in C)
or that's been hidden by a non-type (in C++).

The ideal C++ diagnostic here would note the hiding declaration, but this
is a good start.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96141 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticParseKinds.td
lib/Parse/ParseDecl.cpp
test/Parser/declarators.c