[PATCH] D35743: [clang-format] Adjust space around &/&& of structured bindings

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 19 02:48:31 PDT 2017


curdeius added a comment.

There is one big missing thing here: `PointerAlignment`. Actually only `PAS_Left` is taken into account.
There are 3 possible options:
Left: `auto& [a, b] = f();`
Middle: `auto & [a, b] = f();`
Right: `auto &[a, b] = f();`


https://reviews.llvm.org/D35743





More information about the cfe-commits mailing list