[modules] When parsing the base specifiers of a parse-merged class, the current
context is the class itself but lookups should be performed starting with the lookup parent of the class (class and base members don't shadow types from the surrounding context because they have not been declared yet). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245236 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/Sema/SemaDecl.cpp 3 additions, 1 deletionlib/Sema/SemaDecl.cpp
- test/Modules/Inputs/submodules-merge-defs/defs.h 7 additions, 0 deletionstest/Modules/Inputs/submodules-merge-defs/defs.h
- test/Modules/Inputs/template-default-args/a.h 3 additions, 0 deletionstest/Modules/Inputs/template-default-args/a.h
- test/Modules/submodules-merge-defs.cpp 14 additions, 14 deletionstest/Modules/submodules-merge-defs.cpp
- test/Modules/template-default-args.cpp 3 additions, 0 deletionstest/Modules/template-default-args.cpp
Loading
Please register or sign in to comment