[PATCH] D52521: [Sema] DR727: Ensure we pick up enclosing template instantiation arguments for a class-scope explicit specialization.
Erik Pilkington via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 25 15:02:59 PDT 2018
erik.pilkington created this revision.
erik.pilkington added reviewers: rsmith, rjmccall.
Herald added a subscriber: dexonsmith.
Previously, we stopped early on a class-scope explicit specialization, leading us to lose enclosing levels of template arguments. I'm not entirely convinced that this is the right fix, so any insight here would be greatly appreciated!
llvm.org/PR39031
Thanks!
Erik
Repository:
rC Clang
https://reviews.llvm.org/D52521
Files:
clang/include/clang/AST/DeclTemplate.h
clang/lib/AST/DeclTemplate.cpp
clang/lib/Sema/SemaTemplate.cpp
clang/lib/Sema/SemaTemplateInstantiate.cpp
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/lib/Serialization/ASTReaderDecl.cpp
clang/lib/Serialization/ASTWriterDecl.cpp
clang/test/SemaCXX/member-spec-dr727.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52521.166999.patch
Type: text/x-patch
Size: 12430 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180925/ca05283c/attachment-0001.bin>
More information about the cfe-commits
mailing list