Revert "ValueFlow: Set max iterations to 2 in normal analysis (#4951)"

This reverts commit 02a3d03a05.
This commit is contained in:
Daniel Marjamäki 2023-05-07 18:28:01 +02:00
parent 02a3d03a05
commit 527b6fbb45
1 changed files with 1 additions and 3 deletions

View File

@ -71,7 +71,7 @@ Settings::Settings()
showtime(SHOWTIME_MODES::SHOWTIME_NONE),
templateMaxTime(0),
typedefMaxTime(0),
valueFlowMaxIterations(2),
valueFlowMaxIterations(4),
verbose(false),
xml(false),
xml_version(2)
@ -229,7 +229,6 @@ void Settings::setCheckLevelExhaustive()
{
// Checking can take a little while. ~ 10 times slower than normal analysis is OK.
performanceValueFlowMaxIfCount = -1;
valueFlowMaxIterations = 4;
performanceValueFlowMaxSubFunctionArgs = 256;
}
@ -238,5 +237,4 @@ void Settings::setCheckLevelNormal()
// Checking should finish in reasonable time.
performanceValueFlowMaxSubFunctionArgs = 8;
performanceValueFlowMaxIfCount = 100;
valueFlowMaxIterations = 2;
}