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)
commitdf3520581a4371eed1ea50d2080fed39d9a5bf10
tree9dfcc25cf4a3089402f10e96afc9963e4d23524c
parent5ebffb5555cf3e1e4fa53e481b0dcce18707a280
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.

llvm-svn: 209472
clang/lib/Serialization/ASTReaderDecl.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/test/Modules/Inputs/cxx-templates-a.h
clang/test/Modules/Inputs/cxx-templates-common.h
clang/test/Modules/cxx-templates.cpp