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

llvm-svn: 215806
This commit is contained in:
Nick Lewycky 2014-08-16 02:09:42 +00:00
parent 5a5fd7b1b3
commit e9a774022a
1 changed files with 5 additions and 0 deletions

View 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