[PATCH] D51789: [clang] Add the exclude_from_explicit_instantiation attribute

Louis Dionne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 17 07:49:33 PDT 2018


ldionne updated this revision to Diff 165768.
ldionne added a comment.

Add example of how to use the attribute, per Aaron's comment.


Repository:
  rC Clang

https://reviews.llvm.org/D51789

Files:
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/lib/Sema/SemaTemplateInstantiate.cpp
  clang/test/CodeGenCXX/attr-exclude_from_explicit_instantiation.dont_assume_extern_instantiation.cpp
  clang/test/Misc/pragma-attribute-supported-attributes-list.test
  clang/test/SemaCXX/attr-exclude_from_explicit_instantiation.diagnose_on_undefined_entity.cpp
  clang/test/SemaCXX/attr-exclude_from_explicit_instantiation.explicit_instantiation.cpp
  clang/test/SemaCXX/attr-exclude_from_explicit_instantiation.extern_declaration.cpp
  clang/test/SemaCXX/attr-exclude_from_explicit_instantiation.merge_redeclarations.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51789.165768.patch
Type: text/x-patch
Size: 22652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180917/4db6f5be/attachment-0001.bin>


More information about the cfe-commits mailing list