[PATCH] D42493: [clang-format] Fix ObjC message arguments formatting.

Ben Hamilton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 26 13:37:28 PST 2018


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


================
Comment at: lib/Format/TokenAnnotator.cpp:419
           StartsObjCMethodExpr = true;
+          Left->ParameterCount = 0;
           Contexts.back().ColonIsObjCMethodExpr = true;
----------------
What does this line do? Seems like it's initialized to 0 already, right?


Repository:
  rC Clang

https://reviews.llvm.org/D42493





More information about the cfe-commits mailing list