forked from OSchip/llvm-project
Bump default template instantiation depth to 1024, as required by C++0x
llvm-svn: 102847
This commit is contained in:
parent
ab826ad169
commit
1af7cc2830
|
@ -162,7 +162,7 @@ public:
|
|||
OverflowChecking = 0;
|
||||
ObjCGCBitmapPrint = 0;
|
||||
|
||||
InstantiationDepth = 500;
|
||||
InstantiationDepth = 1024;
|
||||
|
||||
Optimize = 0;
|
||||
OptimizeSize = 0;
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue