diff options
author | Nico Weber <nicolasweber@gmx.de> | 2018-10-05 18:22:21 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2018-10-05 18:22:21 +0000 |
commit | 208661b206be29c02f1e39ef00263f5efcd05a49 (patch) | |
tree | 1b46a218bf61f11c23b11252544554b05f747cfb /llvm/lib | |
parent | 0ed892da707883908c8240087bed1e6286fe72aa (diff) | |
download | bcm5719-llvm-208661b206be29c02f1e39ef00263f5efcd05a49.tar.gz bcm5719-llvm-208661b206be29c02f1e39ef00263f5efcd05a49.zip |
clang-format: Don't insert spaces in front of :: for Java 8 Method References.
The existing code kept the space if it was there for identifiers, and it didn't
handle `this`. After this patch, for Java `this` is handled in addition to
identifiers, and existing space is always stripped between identifier and `::`.
Also accept `::` in addition to `.` in front of `<` in `foo::<T>bar` generic
calls.
Differential Revision: https://reviews.llvm.org/D52842
llvm-svn: 343872
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions