Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Ridge2019-03-30 17:16:21 -0400
committerNathan Ridge2019-03-30 18:03:32 -0400
commitfc45110844ac22ab4726cc5360ccae8c677dbaf6 (patch)
tree9efdbaaab7806d9cc68adba49ddc720aefb4753d /core/org.eclipse.cdt.core/parser/org/eclipse/cdt
parent3a95ee0655073c10bb719c09fb069ce56094ef12 (diff)
downloadorg.eclipse.cdt-fc45110844ac22ab4726cc5360ccae8c677dbaf6.tar.gz
org.eclipse.cdt-fc45110844ac22ab4726cc5360ccae8c677dbaf6.tar.xz
org.eclipse.cdt-fc45110844ac22ab4726cc5360ccae8c677dbaf6.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
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt')
-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 a5ae420e97..b58abf0c40 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