[PATCH] D47028: [clang-format/ObjC] Correctly annotate single-component ObjC method invocations

Jacek Olesiak via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 18 07:28:08 PDT 2018


jolesiak accepted this revision.
jolesiak added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lib/Format/TokenAnnotator.cpp:510
+            CurrentToken->Previous->Type = TT_SelectorName;
+          }
           // determineStarAmpUsage() thinks that '*' '[' is allocating an
----------------
I'd remove braces for consistency.


Repository:
  rC Clang

https://reviews.llvm.org/D47028





More information about the cfe-commits mailing list