Revert "ValueFlow: Set max iterations to 2 in normal analysis (#4951)"
This reverts commit 02a3d03a05
.
This commit is contained in:
parent
02a3d03a05
commit
527b6fbb45
|
@ -71,7 +71,7 @@ Settings::Settings()
|
||||||
showtime(SHOWTIME_MODES::SHOWTIME_NONE),
|
showtime(SHOWTIME_MODES::SHOWTIME_NONE),
|
||||||
templateMaxTime(0),
|
templateMaxTime(0),
|
||||||
typedefMaxTime(0),
|
typedefMaxTime(0),
|
||||||
valueFlowMaxIterations(2),
|
valueFlowMaxIterations(4),
|
||||||
verbose(false),
|
verbose(false),
|
||||||
xml(false),
|
xml(false),
|
||||||
xml_version(2)
|
xml_version(2)
|
||||||
|
@ -229,7 +229,6 @@ void Settings::setCheckLevelExhaustive()
|
||||||
{
|
{
|
||||||
// Checking can take a little while. ~ 10 times slower than normal analysis is OK.
|
// Checking can take a little while. ~ 10 times slower than normal analysis is OK.
|
||||||
performanceValueFlowMaxIfCount = -1;
|
performanceValueFlowMaxIfCount = -1;
|
||||||
valueFlowMaxIterations = 4;
|
|
||||||
performanceValueFlowMaxSubFunctionArgs = 256;
|
performanceValueFlowMaxSubFunctionArgs = 256;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -238,5 +237,4 @@ void Settings::setCheckLevelNormal()
|
||||||
// Checking should finish in reasonable time.
|
// Checking should finish in reasonable time.
|
||||||
performanceValueFlowMaxSubFunctionArgs = 8;
|
performanceValueFlowMaxSubFunctionArgs = 8;
|
||||||
performanceValueFlowMaxIfCount = 100;
|
performanceValueFlowMaxIfCount = 100;
|
||||||
valueFlowMaxIterations = 2;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue