]> granicus.if.org Git - clang/commitdiff
Bump the default maximum template-instantiation depth to 500, as in
authorDouglas Gregor <dgregor@apple.com>
Tue, 2 Mar 2010 19:14:36 +0000 (19:14 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 2 Mar 2010 19:14:36 +0000 (19:14 +0000)
GCC. Fixes PR6301.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97579 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/LangOptions.h

index edff484771971293075c9b7e7b16e2b8eac136f4..23e6efe8bd700f622edf18de27cf54c070b958c0 100644 (file)
@@ -154,7 +154,7 @@ public:
     OverflowChecking = 0;
     ObjCGCBitmapPrint = 0;
 
-    InstantiationDepth = 99;
+    InstantiationDepth = 500;
 
     Optimize = 0;
     OptimizeSize = 0;