Add IDNS_Tag to C++ declarations that conflict with tag declarations.
Fixes some accepts-invalids with tags and other declarations declared in the same scope. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@312743 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/DeclBase.h 6 additions, 4 deletionsinclude/clang/AST/DeclBase.h
- lib/AST/DeclBase.cpp 5 additions, 6 deletionslib/AST/DeclBase.cpp
- lib/Sema/SemaDecl.cpp 8 additions, 10 deletionslib/Sema/SemaDecl.cpp
- test/CXX/basic/basic.scope/basic.scope.declarative/p4.cpp 19 additions, 0 deletionstest/CXX/basic/basic.scope/basic.scope.declarative/p4.cpp
Loading
Please register or sign in to comment