turn on staticShadowAnalysis option
This commit is contained in:
@@ -2524,8 +2524,8 @@ int main(int argc, char **argv)
|
|||||||
out_free_form = 1;
|
out_free_form = 1;
|
||||||
out_line_unlimit = 1;
|
out_line_unlimit = 1;
|
||||||
}
|
}
|
||||||
else if (string(curr_arg) == "-sh")
|
/*else if (string(curr_arg) == "-sh")
|
||||||
staticShadowAnalysis = 1;
|
staticShadowAnalysis = 1;*/
|
||||||
else if (string(curr_arg) == "-shWidth")
|
else if (string(curr_arg) == "-shWidth")
|
||||||
{
|
{
|
||||||
i++;
|
i++;
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
extern std::map<std::string, std::string> shortFileNames;
|
extern std::map<std::string, std::string> shortFileNames;
|
||||||
static int activeState = 0;
|
static int activeState = 0;
|
||||||
|
|
||||||
int staticShadowAnalysis = 0;
|
int staticShadowAnalysis = 1;
|
||||||
int staticPrivateAnalysis = 0;
|
int staticPrivateAnalysis = 0;
|
||||||
int keepDvmDirectives = 0;
|
int keepDvmDirectives = 0;
|
||||||
int keepFiles = 0;
|
int keepFiles = 0;
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define VERSION_SPF "2460"
|
#define VERSION_SPF "2461"
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ static void setOptions(const short* options, bool isBuildParallel = false, const
|
|||||||
intOptions[z] = -1;
|
intOptions[z] = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
staticShadowAnalysis = intOptions[STATIC_SHADOW_ANALYSIS];
|
//staticShadowAnalysis = intOptions[STATIC_SHADOW_ANALYSIS];
|
||||||
staticPrivateAnalysis = intOptions[STATIC_PRIVATE_ANALYSIS];
|
staticPrivateAnalysis = intOptions[STATIC_PRIVATE_ANALYSIS];
|
||||||
out_free_form = intOptions[FREE_FORM];
|
out_free_form = intOptions[FREE_FORM];
|
||||||
if (out_free_form == 1)
|
if (out_free_form == 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user