Fix int to bool conversions exposed by r372612. ( Warn if '<<' in bool context with -Wint-in-bool-context (GCC compatibility))
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Differential D67937
Fix int to bool errors exposed due to r372612 rdhindsa on Sep 23 2019, 3:33 PM. Authored by
Details Fix int to bool conversions exposed by r372612. ( Warn if '<<' in bool context with -Wint-in-bool-context (GCC compatibility))
Diff Detail
|
nit: I think there is an extra unnecessary set of parens, e.g.
(same for the other cases)