]> granicus.if.org Git - clang/commitdiff
Merging r215806:
authorBill Wendling <isanbard@gmail.com>
Mon, 18 Aug 2014 05:15:02 +0000 (05:15 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 18 Aug 2014 05:15:02 +0000 (05:15 +0000)
------------------------------------------------------------------------
r215806 | nicholas | 2014-08-15 19:09:42 -0700 (Fri, 15 Aug 2014) | 2 lines

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

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_35@215875 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