From: Bill Wendling Date: Mon, 18 Aug 2014 05:15:02 +0000 (+0000) Subject: Merging r215806: X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5e387bc5af86dfa36ad887d90b594fd205b2043;p=clang Merging r215806: ------------------------------------------------------------------------ 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 --- diff --git a/docs/AttributeReference.rst b/docs/AttributeReference.rst index c12f6d8e1e..d28cee2579 100644 --- a/docs/AttributeReference.rst +++ b/docs/AttributeReference.rst @@ -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