r215806 - Document what's experimental about __attribute__((enable_if)). PR20392

Nick Lewycky nicholas at mxc.ca
Fri Aug 15 19:09:42 PDT 2014


Author: nicholas
Date: Fri Aug 15 21:09:42 2014
New Revision: 215806

URL: http://llvm.org/viewvc/llvm-project?rev=215806&view=rev
Log:
Document what's experimental about __attribute__((enable_if)). PR20392

Modified:
    cfe/trunk/docs/AttributeReference.rst

Modified: cfe/trunk/docs/AttributeReference.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/AttributeReference.rst?rev=215806&r1=215805&r2=215806&view=diff
==============================================================================
--- cfe/trunk/docs/AttributeReference.rst (original)
+++ cfe/trunk/docs/AttributeReference.rst Fri Aug 15 21:09:42 2014
@@ -236,6 +236,11 @@ enable_if
 
    "X","","",""
 
+.. Note:: Some features of this attribute are experimental. The meaning of
+multiple enable_if attributes on a single declaration is subject to change in
+a future version of clang. Also, the ABI is not standardized and the mangled
+name produced may change. To avoid that, use asm labels.
+
 The ``enable_if`` attribute can be placed on function declarations to control
 which overload is selected based on the values of the function's arguments.
 When combined with the ``overloadable`` attribute, this feature is also





More information about the cfe-commits mailing list