Closed
Description
clang-format version 18 would format this way:
int result = ((int) a) - b;
but version 19.1.0-rc3 formats instead:
int result = ((int) a) -b;
there is an easy workaround of removing the extra parentheses or using a c++-style cast like static_cast<>
, but it'd be nice to get the previous correct formatting.