]> granicus.if.org Git - clang/commit
PR9547: If we're parsing a simple-declaration that contains a tag definition,
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 19 Nov 2013 22:47:36 +0000 (22:47 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 19 Nov 2013 22:47:36 +0000 (22:47 +0000)
commitfc764b6d50aba62a6dbf736a763197e0805d83ed
treeb2a8ed3c29ffd900aa68a567b97eb591eabc8185
parentd46c8e0d67c7a20b5da330af3a36c47a5f0c0484
PR9547: If we're parsing a simple-declaration that contains a tag definition,
and we see an ill-formed declarator that would probably be well-formed if the
tag definition were just missing a semicolon, use that as the diagnostic
instead of producing some other mysterious error.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195163 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/Parser.h
include/clang/Sema/DeclSpec.h
lib/Parse/ParseDecl.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Parse/Parser.cpp
lib/Sema/DeclSpec.cpp
lib/Sema/SemaType.cpp
test/Parser/cxx-decl.cpp
test/Parser/recovery.cpp