[PATCH] D13330: Implement __attribute__((unique_instantiation))
Keno Fischer via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 2 00:49:43 PDT 2015
loladiro updated this revision to Diff 36332.
loladiro added a comment.
Address review comments. I had to add a special case to checkNewAttributesAfterDef if we want to use attribute merging for explicit template instantiations, because the Microsoft ABI allows adding dll attributes to the explicit template definition, but not the declaration (which clang considers to be the record's definition).
Repository:
rL LLVM
http://reviews.llvm.org/D13330
Files:
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/AttributeList.h
lib/AST/ASTContext.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaTemplate.cpp
test/CodeGenCXX/unique-instantiation.cpp
test/SemaCXX/unique-instantiations.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13330.36332.patch
Type: text/x-patch
Size: 13655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151002/f1109a79/attachment-0001.bin>
More information about the cfe-commits
mailing list