-
- Downloads
[modules] Properly look up the owning module for an instantiation of a merged template.
When looking for the template instantiation pattern of a templated entity, consistently select the definition of the pattern if there is one. This means we'll pick the same owning module when we start instantiating a template that we'll later pick when determining which modules are visible during that instantiation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300650 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/AST/Decl.cpp 23 additions, 24 deletionslib/AST/Decl.cpp
- lib/AST/DeclCXX.cpp 10 additions, 3 deletionslib/AST/DeclCXX.cpp
- lib/Sema/SemaLookup.cpp 5 additions, 17 deletionslib/Sema/SemaLookup.cpp
- test/Modules/Inputs/template-default-args/a.h 8 additions, 0 deletionstest/Modules/Inputs/template-default-args/a.h
- test/Modules/template-default-args.cpp 15 additions, 0 deletionstest/Modules/template-default-args.cpp
Loading
Please register or sign in to comment