]> granicus.if.org Git - clang/commit
When a module completes the definition of a class template specialization imported...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 19 Apr 2014 03:48:30 +0000 (03:48 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 19 Apr 2014 03:48:30 +0000 (03:48 +0000)
commitf4ff7ca63fe65f490a62ac7a0a9d92bca33bb4de
treea8df418dd7d7cfc2299a3424ca6c35e6ef04d7b0
parent0d60af37712b2a5f81565b43545c19dea1dab93f
When a module completes the definition of a class template specialization imported from another module, emit an update record, rather than using the broken decl rewriting mechanism. If multiple modules do this, merge the definitions together, much as we would if they were separate declarations.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206680 91177308-0d34-0410-b5e6-96231b3b80d8
20 files changed:
include/clang/AST/ASTUnresolvedSet.h
include/clang/AST/ASTVector.h
include/clang/Basic/DiagnosticSerializationKinds.td
include/clang/Serialization/ASTReader.h
include/clang/Serialization/ASTWriter.h
lib/CodeGen/CGRecordLayout.h
lib/CodeGen/CGRecordLayoutBuilder.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Serialization/ASTCommon.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
lib/Serialization/ASTWriterDecl.cpp
test/Modules/Inputs/cxx-irgen-left.h
test/Modules/Inputs/cxx-irgen-top.h
test/Modules/Inputs/templates-left.h
test/Modules/Inputs/templates-right.h
test/Modules/Inputs/templates-top.h
test/Modules/cxx-irgen.cpp
test/Modules/templates.mm