diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-09-11 18:08:34 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-09-11 18:08:34 +0000 |
commit | eb661ed531667bfcb456af4ca9b5f19b29afa0d7 (patch) | |
tree | 58093ccaa4cd644203d75a0157c6dc70a0827767 | |
parent | 424668cc90a07f3f98b36dad252940a43ded83d8 (diff) |
Document our extension to constant-fold __builtin_strlen and strlen
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113699 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | docs/InternalsManual.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/InternalsManual.html b/docs/InternalsManual.html index 6df26db8cf..2eee5c2507 100644 --- a/docs/InternalsManual.html +++ b/docs/InternalsManual.html @@ -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> |