]> granicus.if.org Git - clang/commitdiff
Document what's experimental about __attribute__((enable_if)). PR20392
authorNick Lewycky <nicholas@mxc.ca>
Sat, 16 Aug 2014 02:09:42 +0000 (02:09 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 16 Aug 2014 02:09:42 +0000 (02:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215806 91177308-0d34-0410-b5e6-96231b3b80d8

docs/AttributeReference.rst

index c12f6d8e1eae403e77cbae1d2f19ac59eb82f8b3..d28cee25799c7c558f6257526896c117d5587a80 100644 (file)
@@ -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