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
Event Timeline
compiler-rt/lib/builtins/fp_add_impl.inc | ||
---|---|---|
97 ↗ | (On Diff #221425) | nit: I think there is an extra unnecessary set of parens, e.g. const bool sticky = (bSignificand << (typeWidth - align)) != 0; (same for the other cases) |
compiler-rt/lib/builtins/fp_add_impl.inc | ||
---|---|---|
97 ↗ | (On Diff #221425) | +1, yes, please fix them |