diff options
| author | Daniel Jasper <djasper@google.com> | 2016-06-13 07:49:28 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2016-06-13 07:49:28 +0000 |
| commit | 43e4d3a05be7e797045e36091ab354face31800f (patch) | |
| tree | 616a5826c94cfd3396c06cd230cf4c8189b088d3 /clang/lib/Format/ContinuationIndenter.h | |
| parent | 594be2f03705f0beeefd6991045bbd2f793558a1 (diff) | |
| download | bcm5719-llvm-43e4d3a05be7e797045e36091ab354face31800f.tar.gz bcm5719-llvm-43e4d3a05be7e797045e36091ab354face31800f.zip | |
clang-format: Don't merge const and &, e.g. in function ref qualifiers.
Before (when aligning & to the right):
SomeType MemberFunction(const Deleted &) const&;
After:
SomeType MemberFunction(const Deleted &) const &;
This also applies to variable declarations, e.g.:
int const * a;
However, this form is very uncommon (most people would write
"const int* a" instead) and contracting to "const*" might actually send
the wrong signal of what the const binds to.
llvm-svn: 272537
Diffstat (limited to 'clang/lib/Format/ContinuationIndenter.h')
0 files changed, 0 insertions, 0 deletions

