CPlusPlus: Increase maximum statement depth

We're hitting the limit in a real-world project.
(Of course, it's pretty horrific that we unconditionally access pointers
that can legally be null, but that's difficult to change now.)

Fixes: QTCREATORBUG-25606
Change-Id: I1d8c883550e8968bbfa6ce26965573697774361f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2021-04-19 15:32:45 +02:00
parent 743ef263c9
commit f31d583081

View File

@@ -39,7 +39,7 @@
#define CPLUSPLUS_NO_DEBUG_RULE
#define MAX_EXPRESSION_DEPTH 1000
#define MAX_STATEMENT_DEPTH 100
#define MAX_STATEMENT_DEPTH 300
using namespace CPlusPlus;