Bump default template instantiation depth to 1024, as required by C++0x
llvm-svn: 102847
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user