int main() {
x.ExcessivelyLongFunctionName(
ReallyLongFunctionCallHere() == kSomeExceedinglyLongConstant);
}
clang-format with chromium style:
int main() {
x.ExcessivelyLongFunctionName(ReallyLongFunctionCallHere() ==
kSomeExceedinglyLongConstant);
}
A bit surprising, since clang-format could have just broken after the (. In fact, if there's more than one argument, clang-format will prefer to keep the binary operator expression together.
Extended Description
Original formatting:
clang-format with chromium style:
A bit surprising, since clang-format could have just broken after the (. In fact, if there's more than one argument, clang-format will prefer to keep the binary operator expression together.