aboutsummaryrefslogtreecommitdiff
path: root/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
commitbdb10186618ebb73ebf09b44037faa6829dce0f4 (patch)
tree930c12f9edac3883ae10aac3913acce6fa4f058f /docs/UsersManual.html
parentc18c42345636e2866fed75c7e434fb659d747672 (diff)
Add stub section to the user manual for C++ language features, and document
-ftemplate-depth= and -fconstexpr-depth= in it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145049 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/UsersManual.html')
-rw-r--r--docs/UsersManual.html26
1 files changed, 25 insertions, 1 deletions
diff --git a/docs/UsersManual.html b/docs/UsersManual.html
index efeb0919a7..91799f39b3 100644
--- a/docs/UsersManual.html
+++ b/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>
<!-- ======================================================================= -->