Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Ridge2019-03-30 21:16:21 +0000
committerNathan Ridge2019-03-31 00:31:46 +0000
commitd2208042945098631c546d01daa5213abee8a800 (patch)
tree5c5f9b27bdd748bf0cc17aea5e47e2a8bc71a568
parent8b2c40fa4364063017feb24da75d43b81a28f625 (diff)
downloadorg.eclipse.cdt-d2208042945098631c546d01daa5213abee8a800.tar.gz
org.eclipse.cdt-d2208042945098631c546d01daa5213abee8a800.tar.xz
org.eclipse.cdt-d2208042945098631c546d01daa5213abee8a800.zip
Reduce template argument nesting depth limit
AST2TemplateTests.testTemplateArgumentNestingDepthLimit_512297() is failing in the new CI infrastructure, presumably due to having less stack space? Change-Id: I05a67cc1492fed3ffe8840e32a1bc4ce7f6b75a7
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java
index 1adf8819cc..c9407a089f 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java
@@ -192,7 +192,7 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPVisitor;
public class GNUCPPSourceParser extends AbstractGNUSourceCodeParser {
private static final int DEFAULT_PARM_LIST_SIZE = 4;
private static final int DEFAULT_CATCH_HANDLER_LIST_SIZE = 4;
- private static final int TEMPLATE_ARGUMENT_NESTING_DEPTH_LIMIT = 256;
+ private static final int TEMPLATE_ARGUMENT_NESTING_DEPTH_LIMIT = 192;
// This is a parameter to the protected function {@link #declarator(DtorStrategy, DeclarationOptions)}
// so it needs to be protected too.

Back to the top