Skip to content
Commit b10899d8 authored by Jie Fu's avatar Jie Fu
Browse files

[clang] Fix -Wlogical-op-parentheses in Clang.cpp (NFC)

/Users/jiefu/llvm-project/clang/lib/Driver/ToolChains/Clang.cpp:7345:56: error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
      (WholeProgramVTables || SanitizeArgs.needsLTO()) &&
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/Users/jiefu/llvm-project/clang/lib/Driver/ToolChains/Clang.cpp:7345:56: note: place parentheses around the '&&' expression to silence this warning
      (WholeProgramVTables || SanitizeArgs.needsLTO()) &&
                                                       ^
      (
1 error generated.
parent fd2254b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment