PR24030, PR24033: Consistently check whether a new declaration conflicts with
an existing using shadow declaration if they define entities of the same kind in different namespaces. We'd previously check this consistently if the using-declaration came after the other declaration, but not if it came before. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241428 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/Sema/SemaDecl.cpp 84 additions, 24 deletionslib/Sema/SemaDecl.cpp
- lib/Sema/SemaTemplate.cpp 18 additions, 3 deletionslib/Sema/SemaTemplate.cpp
- test/SemaCXX/lookup-member.cpp 3 additions, 4 deletionstest/SemaCXX/lookup-member.cpp
- test/SemaCXX/using-decl-1.cpp 64 additions, 0 deletionstest/SemaCXX/using-decl-1.cpp
Loading
Please register or sign in to comment