]> granicus.if.org Git - clang/commit
Replace ad-hoc tracking of pattern for an instantiated class-scope
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 2 May 2019 00:49:14 +0000 (00:49 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 2 May 2019 00:49:14 +0000 (00:49 +0000)
commit672ad5280a92fdc73cf54e6fc6ec50e73f6aa7d3
tree56d21195b68ef956a8c4264da03e75751877d732
parent2d77937455e8f133a9e4df562d91f40a97c59c8c
Replace ad-hoc tracking of pattern for an instantiated class-scope
explicit function specialization with the MemberSpecializationInfo used
everywhere else.

Not NFC: the ad-hoc pattern tracking was not being serialized /
deserialized properly. That's fixed here.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359747 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/clang/AST/ASTContext.h
include/clang/AST/ASTNodeTraverser.h
include/clang/AST/Decl.h
include/clang/AST/DeclTemplate.h
include/clang/AST/RecursiveASTVisitor.h
include/clang/Sema/Template.h
lib/AST/ASTContext.cpp
lib/AST/Decl.cpp
lib/AST/DeclTemplate.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaTemplateInstantiate.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriterDecl.cpp
test/PCH/cxx-templates.cpp
test/PCH/cxx-templates.h