]> granicus.if.org Git - clang/commit
[modules] When parsing the base specifiers of a parse-merged class, the current
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 17 Aug 2015 20:24:17 +0000 (20:24 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 17 Aug 2015 20:24:17 +0000 (20:24 +0000)
commit5df6568d4035b9605586ae5d92cc114c83d5ccb3
tree2f575e1f2446f901c0a4c10c357981b1ccbac33e
parente8db75291aed4b21526751cdc2edc1a284bbb2bc
[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
lib/Sema/SemaDecl.cpp
test/Modules/Inputs/submodules-merge-defs/defs.h
test/Modules/Inputs/template-default-args/a.h
test/Modules/submodules-merge-defs.cpp
test/Modules/template-default-args.cpp