[cfe-commits] r97579 - /cfe/trunk/include/clang/Basic/LangOptions.h

Douglas Gregor dgregor at apple.com
Tue Mar 2 11:14:36 PST 2010


Author: dgregor
Date: Tue Mar  2 13:14:36 2010
New Revision: 97579

URL: http://llvm.org/viewvc/llvm-project?rev=97579&view=rev
Log:
Bump the default maximum template-instantiation depth to 500, as in
GCC. Fixes PR6301.

Modified:
    cfe/trunk/include/clang/Basic/LangOptions.h

Modified: cfe/trunk/include/clang/Basic/LangOptions.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/LangOptions.h?rev=97579&r1=97578&r2=97579&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/LangOptions.h (original)
+++ cfe/trunk/include/clang/Basic/LangOptions.h Tue Mar  2 13:14:36 2010
@@ -154,7 +154,7 @@
     OverflowChecking = 0;
     ObjCGCBitmapPrint = 0;
 
-    InstantiationDepth = 99;
+    InstantiationDepth = 500;
 
     Optimize = 0;
     OptimizeSize = 0;





More information about the cfe-commits mailing list