aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-05-01 16:59:21 +0000
committerDouglas Gregor <dgregor@apple.com>2010-05-01 16:59:21 +0000
commit1af7cc2830f4d6d63eb07f62258805bd982738ff (patch)
tree10905020075d39298fb65ea0cd369e8bf083caaf /clang/lib/Frontend/CompilerInvocation.cpp
parentab826ad1691bea7744b6790edcbb7901f0218f74 (diff)
downloadllvm-1af7cc2830f4d6d63eb07f62258805bd982738ff.zip
llvm-1af7cc2830f4d6d63eb07f62258805bd982738ff.tar.gz
llvm-1af7cc2830f4d6d63eb07f62258805bd982738ff.tar.bz2
Bump default template instantiation depth to 1024, as required by C++0x
llvm-svn: 102847
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 932c35e..8ffdde2 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1236,7 +1236,7 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args,
Opts.AccessControl = !Args.hasArg(OPT_fno_access_control);
Opts.ElideConstructors = !Args.hasArg(OPT_fno_elide_constructors);
Opts.MathErrno = Args.hasArg(OPT_fmath_errno);
- Opts.InstantiationDepth = getLastArgIntValue(Args, OPT_ftemplate_depth, 99,
+ Opts.InstantiationDepth = getLastArgIntValue(Args, OPT_ftemplate_depth, 1024,
Diags);
Opts.NeXTRuntime = !Args.hasArg(OPT_fgnu_runtime);
Opts.ObjCConstantStringClass = getLastArgValue(Args,