Commit 9ef2103
committed
[clang] Fix -Wparentheses warning [NFC]
Without this gcc warns like
../../clang/lib/AST/ExprConstant.cpp:4091:63: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
4091 | (SrcVal.isVector() && SrcVal.getVectorLength() == 1) &&
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
4092 | "Not a valid HLSLAggregateSplatCast.");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1 parent 3add3ab commit 9ef2103
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4087 | 4087 | | |
4088 | 4088 | | |
4089 | 4089 | | |
4090 | | - | |
4091 | | - | |
4092 | | - | |
| 4090 | + | |
| 4091 | + | |
| 4092 | + | |
4093 | 4093 | | |
4094 | 4094 | | |
4095 | 4095 | | |
| |||
0 commit comments