summaryrefslogtreecommitdiffstats
path: root/clang/docs/UsersManual.html
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2011-11-21 20:54:59 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2011-11-21 20:54:59 +0000
commitf13b855809d1648a738902d4d3c2ec4ca5ab6cc2 (patch)
treec50758bc951ec846e4965223f4a76ae320b1cde3 /clang/docs/UsersManual.html
parent74e1bc793339072b27d94ce02abb12e3a1b041cd (diff)
downloadbcm5719-llvm-f13b855809d1648a738902d4d3c2ec4ca5ab6cc2.tar.gz
bcm5719-llvm-f13b855809d1648a738902d4d3c2ec4ca5ab6cc2.zip
Add stub section to the user manual for C++ language features, and document
-ftemplate-depth= and -fconstexpr-depth= in it. llvm-svn: 145049
Diffstat (limited to 'clang/docs/UsersManual.html')
-rw-r--r--clang/docs/UsersManual.html26
1 files changed, 25 insertions, 1 deletions
diff --git a/clang/docs/UsersManual.html b/clang/docs/UsersManual.html
index efeb0919a72..91799f39b3d 100644
--- a/clang/docs/UsersManual.html
+++ b/clang/docs/UsersManual.html
@@ -56,6 +56,11 @@ td {
<li><a href="#c_ms">Microsoft extensions</a></li>
</ul>
</li>
+<li><a href="#cxx">C++ Language Features</a>
+ <ul>
+ <li><a href="#cxx_implimits">Controlling implementation limits</a></li>
+ </ul>
+</li>
<li><a href="#target_features">Target-Specific Features and Limitations</a>
<ul>
<li><a href="#target_arch">CPU Architectures Features and Limitations</a>
@@ -106,7 +111,7 @@ corresponding language specific section:</p>
(C89+AMD1), ISO C99 (+TC1, TC2, TC3). </li>
<li><a href="#objc">Objective-C Language</a>: ObjC 1, ObjC 2, ObjC 2.1, plus
variants depending on base language.</li>
-<li><a href="#cxx">C++ Language Features</a></li>
+<li><a href="#cxx">C++ Language</a></li>
<li><a href="#objcxx">Objective C++ Language</a></li>
</ul>
@@ -988,6 +993,25 @@ definition.</li>
</ul>
<!-- ======================================================================= -->
+<h2 id="cxx">C++ Language Features</h2>
+<!-- ======================================================================= -->
+
+<p>clang fully implements all of standard C++98 except for exported templates
+(which were removed in C++11), and
+<a href="http://clang.llvm.org/cxx_status.html">many C++11 features</a> are also
+implemented.</p>
+
+<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
+<h3 id="cxx_implimits">Controlling implementation limits</h3>
+<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
+
+<p><b>-fconstexpr-depth=N</b>: Sets the limit for recursive constexpr function
+invocations to N. The default is 512.</p>
+
+<p><b>-ftemplate-depth=N</b>: Sets the limit for recursively nested template
+instantiations to N. The default is 1024.</p>
+
+<!-- ======================================================================= -->
<h2 id="target_features">Target-Specific Features and Limitations</h2>
<!-- ======================================================================= -->
OpenPOWER on IntegriCloud