-
- Downloads
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
Showing
- include/clang/Parse/Parser.h 3 additions, 0 deletionsinclude/clang/Parse/Parser.h
- include/clang/Sema/DeclSpec.h 8 additions, 0 deletionsinclude/clang/Sema/DeclSpec.h
- lib/Parse/ParseDecl.cpp 108 additions, 2 deletionslib/Parse/ParseDecl.cpp
- lib/Parse/ParseDeclCXX.cpp 8 additions, 0 deletionslib/Parse/ParseDeclCXX.cpp
- lib/Parse/Parser.cpp 6 additions, 0 deletionslib/Parse/Parser.cpp
- lib/Sema/DeclSpec.cpp 6 additions, 0 deletionslib/Sema/DeclSpec.cpp
- lib/Sema/SemaType.cpp 3 additions, 4 deletionslib/Sema/SemaType.cpp
- test/Parser/cxx-decl.cpp 2 additions, 2 deletionstest/Parser/cxx-decl.cpp
- test/Parser/recovery.cpp 53 additions, 0 deletionstest/Parser/recovery.cpp
Loading
Please register or sign in to comment