]> granicus.if.org Git - clang/commit
If a class template specialization from one module has its definition
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 22 May 2014 20:59:29 +0000 (20:59 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 22 May 2014 20:59:29 +0000 (20:59 +0000)
commit66936e192ccd1c61dd706fb57e267a483319569f
tree3404a78a709c09f67f00c74058d3d05efa525962
parent3175e5fb93c1aeaaeafa01c34731c45c348aa804
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
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
test/Modules/Inputs/cxx-templates-a.h
test/Modules/Inputs/cxx-templates-common.h
test/Modules/cxx-templates.cpp