[llvm-branch-commits] [cfe-branch] r215875 - Merging r215806:

Bill Wendling isanbard at gmail.com
Sun Aug 17 22:15:02 PDT 2014


Author: void
Date: Mon Aug 18 00:15:02 2014
New Revision: 215875

URL: http://llvm.org/viewvc/llvm-project?rev=215875&view=rev
Log:
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

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

Modified:
    cfe/branches/release_35/   (props changed)
    cfe/branches/release_35/docs/AttributeReference.rst

Propchange: cfe/branches/release_35/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Aug 18 00:15:02 2014
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:213609,213611,213613,213741,213834,213840,213902,213912-213913,213993,213998-213999,214008,214050,214060,214119,214208,214222,214369,214390,214471,214734-214735,214777,215046,215229,215245
+/cfe/trunk:213609,213611,213613,213741,213834,213840,213902,213912-213913,213993,213998-213999,214008,214050,214060,214119,214208,214222,214369,214390,214471,214734-214735,214777,215046,215229,215245,215806
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_35/docs/AttributeReference.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_35/docs/AttributeReference.rst?rev=215875&r1=215874&r2=215875&view=diff
==============================================================================
--- cfe/branches/release_35/docs/AttributeReference.rst (original)
+++ cfe/branches/release_35/docs/AttributeReference.rst Mon Aug 18 00:15:02 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 llvm-branch-commits mailing list