diff options
author | Nathan Ridge | 2019-03-30 21:16:21 +0000 |
---|---|---|
committer | Nathan Ridge | 2019-03-30 22:03:32 +0000 |
commit | fc45110844ac22ab4726cc5360ccae8c677dbaf6 (patch) | |
tree | 9efdbaaab7806d9cc68adba49ddc720aefb4753d /core/org.eclipse.cdt.core/parser/org/eclipse/cdt | |
parent | 3a95ee0655073c10bb719c09fb069ce56094ef12 (diff) | |
download | org.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.java | 2 |
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 a5ae420e975..b58abf0c406 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. |