In the meantime clang-format 20 does provide the new config entry BreakBinaryOperations
.
The config
BasedOnStyle: Google
BreakBinaryOperations: OnePerLine
ColumnLimit: 100
produces this formatting:
#if ((CONDITION_A_SWITCH == ENABLED) || \
(CONDITION_A_SWITCH == ENABLED) || \
(CONDITION_A_SWITCH == ENABLED))
[...]
#endif