Skip to content

Commit 3258e8e

Browse files
[clang] CommonArgs - Fix local variable name case
Co-authored-by: Tarun Prabhu <[email protected]> Signed-off-by: Kajetan Puchalski <[email protected]>
1 parent e78240d commit 3258e8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/Driver/ToolChains/CommonArgs.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3181,11 +3181,11 @@ bool tools::shouldEnableVectorizerAtOLevel(const ArgList &Args, bool isSlpVec) {
31813181
/// Enable -fvectorize based on the optimization level selected.
31823182
void tools::handleVectorizeLoopsArgs(const ArgList &Args,
31833183
ArgStringList &CmdArgs) {
3184-
bool enableVec = shouldEnableVectorizerAtOLevel(Args, false);
3184+
bool EnableVec = shouldEnableVectorizerAtOLevel(Args, false);
31853185
OptSpecifier vectorizeAliasOption =
3186-
enableVec ? options::OPT_O_Group : options::OPT_fvectorize;
3186+
EnableVec ? options::OPT_O_Group : options::OPT_fvectorize;
31873187
if (Args.hasFlag(options::OPT_fvectorize, vectorizeAliasOption,
3188-
options::OPT_fno_vectorize, enableVec))
3188+
options::OPT_fno_vectorize, EnableVec))
31893189
CmdArgs.push_back("-vectorize-loops");
31903190
}
31913191

0 commit comments

Comments
 (0)