llvm-project/clang/lib
Louis Dionne d269579a97 [clang] Add the exclude_from_explicit_instantiation attribute
Summary:
This attribute allows excluding a member of a class template from being part
of an explicit template instantiation of that class template. This also makes
sure that code using such a member will not take for granted that an external
instantiation exists in another translation unit. The attribute was discussed
on cfe-dev at [1] and is primarily motivated by the removal of always_inline
in libc++ to control what's part of the ABI (see links in [1]).

[1]: http://lists.llvm.org/pipermail/cfe-dev/2018-August/059024.html

rdar://problem/43428125

Reviewers: rsmith

Subscribers: dexonsmith, cfe-commits

Differential Revision: https://reviews.llvm.org/D51789

llvm-svn: 343790
2018-10-04 15:49:42 +00:00
..
ARCMigrate Add missing library dependency to fix build break after rC340247 2018-08-21 11:41:41 +00:00
AST [constexpr] Fix ICE when memcpy() is given a pointer to an incomplete array 2018-10-04 09:25:44 +00:00
ASTMatchers Add matchers missing from dynamic AST registry 2018-10-03 20:52:51 +00:00
Analysis Thread safety analysis: Unwrap __builtin_expect in getTrylockCallExpr 2018-10-03 11:58:19 +00:00
Basic [OPENMP] Add reverse_offload clause to requires directive 2018-10-03 20:07:58 +00:00
CodeGen [OPENMP] Add reverse_offload clause to requires directive 2018-10-03 20:07:58 +00:00
CrossTU
Driver [AArch64][ARM] Context sensitive meaning of crypto 2018-10-04 07:38:53 +00:00
Edit Port getLocEnd -> getEndLoc 2018-08-09 21:09:38 +00:00
Format clang-format: better handle statement macros 2018-10-02 16:37:51 +00:00
Frontend [Frontend] Delete -print-decl-contexts 2018-10-03 03:50:44 +00:00
FrontendTool [Frontend] Delete -print-decl-contexts 2018-10-03 03:50:44 +00:00
Headers OpenCL: Mark printf format string argument 2018-10-03 02:01:19 +00:00
Index [Index] Respect "IndexFunctionLocals" option for type loc. 2018-10-04 11:03:55 +00:00
Lex [Preprocesssor] Filename should fall back to the written name when typo correction fails. 2018-10-02 14:42:51 +00:00
Parse [SEMA] split ExtWarn dupl-decl-spec's into Extension and ExtWarn 2018-10-03 23:09:29 +00:00
Rewrite Remove trailing space 2018-07-30 19:24:48 +00:00
Sema [clang] Add the exclude_from_explicit_instantiation attribute 2018-10-04 15:49:42 +00:00
Serialization [OPENMP] Add reverse_offload clause to requires directive 2018-10-03 20:07:58 +00:00
StaticAnalyzer [analyzer] Do not crash if the assumption added in TrustNonNullChecker is enough to make the state unfeasible 2018-10-03 22:31:09 +00:00
Tooling [Tooling] Get rid of uses of llvm::Twine::str which is slow. NFC 2018-09-27 14:50:24 +00:00
CMakeLists.txt