[PATCH] D56928: Support attribute used in member funcs of class templates
David Zarzycki via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 31 05:23:30 PST 2019
davezarzycki added a comment.
This change broke building Swift on my Linux box. The compiler confusingly complains about the *same* template being both explicitly specialized and implicitly instantiated:
/home/dave/s/u/swift/stdlib/public/runtime/ProtocolConformance.cpp:34:38: error: explicit specialization of 'dump' after instantiation
template <> void ProtocolDescriptor::dump() const {
^
/home/dave/s/u/swift/stdlib/public/runtime/ProtocolConformance.cpp:34:18: note: implicit instantiation first required here
template <> void ProtocolDescriptor::dump() const {
^
Is this expected?
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56928/new/
https://reviews.llvm.org/D56928
More information about the cfe-commits
mailing list