turn on staticShadowAnalysis option

This commit is contained in:
ALEXks
2026-02-14 08:39:57 +03:00
committed by Oleg Nikitin
parent 0b46007f8e
commit ef76988301
4 changed files with 5 additions and 5 deletions

View File

@@ -2524,8 +2524,8 @@ int main(int argc, char **argv)
out_free_form = 1;
out_line_unlimit = 1;
}
else if (string(curr_arg) == "-sh")
staticShadowAnalysis = 1;
/*else if (string(curr_arg) == "-sh")
staticShadowAnalysis = 1;*/
else if (string(curr_arg) == "-shWidth")
{
i++;

View File

@@ -19,7 +19,7 @@
extern std::map<std::string, std::string> shortFileNames;
static int activeState = 0;
int staticShadowAnalysis = 0;
int staticShadowAnalysis = 1;
int staticPrivateAnalysis = 0;
int keepDvmDirectives = 0;
int keepFiles = 0;

View File

@@ -1,3 +1,3 @@
#pragma once
#define VERSION_SPF "2460"
#define VERSION_SPF "2461"

View File

@@ -152,7 +152,7 @@ static void setOptions(const short* options, bool isBuildParallel = false, const
intOptions[z] = -1;
}
staticShadowAnalysis = intOptions[STATIC_SHADOW_ANALYSIS];
//staticShadowAnalysis = intOptions[STATIC_SHADOW_ANALYSIS];
staticPrivateAnalysis = intOptions[STATIC_PRIVATE_ANALYSIS];
out_free_form = intOptions[FREE_FORM];
if (out_free_form == 1)