]> granicus.if.org Git - clang/commit
[modules] When finding the owning module of an instantiated context in template
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 18 Oct 2017 01:41:38 +0000 (01:41 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 18 Oct 2017 01:41:38 +0000 (01:41 +0000)
commit5920af940999e0ef4041735c53d828cac90ef1fc
treeae7ebc918337f2824598efdba1877b75f4d2439d
parentd5aad901c029f9723373809ef0f2314be50167a0
[modules] When finding the owning module of an instantiated context in template
instantiation, follow lexical parents not semantic ones: we want to find the
module where the pattern was written.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316055 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/VerifyDiagnosticConsumer.h
lib/Frontend/VerifyDiagnosticConsumer.cpp
lib/Sema/SemaLookup.cpp
test/Modules/visibility-in-instantiation.cpp [new file with mode: 0644]