before patch:
echo "test() {([]() -> {int b = 32;return 3;}).as("");});" | clang-format -style=Google
test() { ([]() -> { int b = 32; return 3; }) .as(); });
after patch:
echo "test() {([]() -> {int b = 32;return 3;}).as("");});" | clang-format -style=Google
test() { ([]() -> { int b = 32; return 3; }).as(); });
Looks like all other ifs in this file have space before (.