forked from OSchip/llvm-project
Document what's experimental about __attribute__((enable_if)). PR20392
llvm-svn: 215806
This commit is contained in:
parent
5a5fd7b1b3
commit
e9a774022a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue