Bug 479138 - Impose a global template instantiation depth limit
authorNathan Ridge <zeratul976@hotmail.com>
Fri, 27 Nov 2015 01:46:50 +0000 (20:46 -0500)
committerSergey Prigogin <eclipse.sprigogin@gmail.com>
Thu, 24 Dec 2015 02:27:14 +0000 (18:27 -0800)
commit6142db7901d5fad87ebbff5740e62cb31591d6c0
treedbc8866dc883884c68922a6fc5c70db2ccf51ce7
parent1de9e48d1aa6b4f2013f800aa04b77497b8dd4eb
Bug 479138 - Impose a global template instantiation depth limit

This protects against rogue template metaprograms that don't terminate.

Change-Id: I9558ceaaed17baddbed84aac67a3c72397b62b64
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCPPTemplateResolutionTest.java
core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates.java