[cfe-commits] r113699 - /cfe/trunk/docs/InternalsManual.html
Douglas Gregor
dgregor at apple.com
Sat Sep 11 11:08:34 PDT 2010
Author: dgregor
Date: Sat Sep 11 13:08:34 2010
New Revision: 113699
URL: http://llvm.org/viewvc/llvm-project?rev=113699&view=rev
Log:
Document our extension to constant-fold __builtin_strlen and strlen
Modified:
cfe/trunk/docs/InternalsManual.html
Modified: cfe/trunk/docs/InternalsManual.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/InternalsManual.html?rev=113699&r1=113698&r2=113699&view=diff
==============================================================================
--- cfe/trunk/docs/InternalsManual.html (original)
+++ cfe/trunk/docs/InternalsManual.html Sat Sep 11 13:08:34 2010
@@ -1682,6 +1682,7 @@
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>
More information about the cfe-commits
mailing list