If a class template specialization from one module has its definition
instantiated in another module, and the instantiation uses a partial specialization, include the partial specialization and its template arguments in the update record. We'll need them if someone imports the second module and tries to instantiate a member of the template. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209472 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/Serialization/ASTReaderDecl.cpp 10 additions, 0 deletionslib/Serialization/ASTReaderDecl.cpp
- lib/Serialization/ASTWriter.cpp 13 additions, 0 deletionslib/Serialization/ASTWriter.cpp
- test/Modules/Inputs/cxx-templates-a.h 6 additions, 0 deletionstest/Modules/Inputs/cxx-templates-a.h
- test/Modules/Inputs/cxx-templates-common.h 3 additions, 0 deletionstest/Modules/Inputs/cxx-templates-common.h
- test/Modules/cxx-templates.cpp 2 additions, 0 deletionstest/Modules/cxx-templates.cpp
Loading
Please register or sign in to comment