forked from OSchip/llvm-project
Document our extension to constant-fold __builtin_strlen and strlen
llvm-svn: 113699
This commit is contained in:
parent
250ab1dc0e
commit
c6876fe121
|
@ -1682,6 +1682,7 @@ interacts with constant evaluation:</p>
|
|||
floating-point literal.</li>
|
||||
<li><b><tt>__builtin_abs,copysign,..</tt></b>: These are constant folded as
|
||||
general constant expressions.</li>
|
||||
<li><b><tt>__builtin_strlen</tt></b> and <b><tt>strlen</tt></b>: These are constant folded as integer constant expressions if the argument is a string literal.</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue