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

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 5 10:52:35 PDT 2018


krasimir added inline comments.


================
Comment at: lib/Format/TokenAnnotator.cpp:2559
     // A.<B<C<...>>>DoSomething();
+    // A::<B<C<...>>>DoSomething();
     return false;
----------------
nit: please add a comment that this example comes from Java.


https://reviews.llvm.org/D52842





More information about the cfe-commits mailing list