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

Ben Hamilton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 18 08:31:18 PDT 2018


benhamilton added inline comments.


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


Repository:
  rC Clang

https://reviews.llvm.org/D47028





More information about the cfe-commits mailing list