From bdb10186618ebb73ebf09b44037faa6829dce0f4 Mon Sep 17 00:00:00 2001
From: Richard Smith
Date: Mon, 21 Nov 2011 20:54:59 +0000
Subject: [PATCH] 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
---
docs/UsersManual.html | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
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 {
Microsoft extensions
+C++ Language Features
+
+
Target-Specific Features and Limitations
(C89+AMD1), ISO C99 (+TC1, TC2, TC3).
Objective-C Language: ObjC 1, ObjC 2, ObjC 2.1, plus
variants depending on base language.
-C++ Language Features
+C++ Language
Objective C++ Language
@@ -987,6 +992,25 @@ however where MSVC and GCC are incompatible clang follows the MSVC
definition.
+
+C++ Language Features
+
+
+clang fully implements all of standard C++98 except for exported templates
+(which were removed in C++11), and
+many C++11 features are also
+implemented.
+
+
+Controlling implementation limits
+
+
+-fconstexpr-depth=N: Sets the limit for recursive constexpr function
+invocations to N. The default is 512.
+
+-ftemplate-depth=N: Sets the limit for recursively nested template
+instantiations to N. The default is 1024.
+
Target-Specific Features and Limitations
--
2.40.0