Document our extension to constant-fold __builtin_strlen and strlen

llvm-svn: 113699
This commit is contained in:
Douglas Gregor 2010-09-11 18:08:34 +00:00
parent 250ab1dc0e
commit c6876fe121
1 changed files with 1 additions and 0 deletions

View File

@ -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>