diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-05-01 16:59:21 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-05-01 16:59:21 +0000 |
commit | 1af7cc2830f4d6d63eb07f62258805bd982738ff (patch) | |
tree | 10905020075d39298fb65ea0cd369e8bf083caaf /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ab826ad1691bea7744b6790edcbb7901f0218f74 (diff) | |
download | llvm-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.cpp | 2 |
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, |