Skip to content

Commit a6535b1

Browse files
mcinallyshafik
andauthored
Update clang/lib/Driver/ToolChains/CommonArgs.cpp
Co-authored-by: Shafik Yaghmour <[email protected]>
1 parent db4482d commit a6535b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Driver/ToolChains/CommonArgs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3173,7 +3173,7 @@ std::optional<StringRef> tools::ParseMPreferVectorWidthOption(
31733173
ArgStringList &CmdArgs, bool isCompilerDriver) {
31743174
// If this was invoked by the Compiler Driver, we pass through the option
31753175
// as-is. Otherwise, if this is the Frontend Driver, we want just the value.
3176-
StringRef Out = (isCompilerDriver) ? "-mprefer-vector-width=" : "";
3176+
StringRef Out = isCompilerDriver ? "-mprefer-vector-width=" : "";
31773177

31783178
Arg *A = Args.getLastArg(clang::driver::options::OPT_mprefer_vector_width_EQ);
31793179
if (!A)

0 commit comments

Comments
 (0)