[PATCH] D52842: clang-format: Don't insert spaces in front of :: for Java 8 Method References.

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 5 11:15:29 PDT 2018


thakis added a comment.

Thanks! Will land with tweaked comment.



================
Comment at: lib/Format/TokenAnnotator.cpp:2559
     // A.<B<C<...>>>DoSomething();
+    // A::<B<C<...>>>DoSomething();
     return false;
----------------
krasimir wrote:
> nit: please add a comment that this example comes from Java.
Will do. I believe the existing example is Java too.


https://reviews.llvm.org/D52842





More information about the cfe-commits mailing list