[PATCH] D43232: clang-format: use AfterControlStatement to format ObjC control blocks

Ben Hamilton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 15 07:40:42 PST 2018


benhamilton added a comment.

> This used to happen before as well, and would require fixing UnwrappedLineFormatter.cpp to understand that these blocks are linked to the previous ObjC keyword.

Good find! Looks like we should fix that and add some more tests with AfterControlStatement set to true and to false.


Repository:
  rC Clang

https://reviews.llvm.org/D43232





More information about the cfe-commits mailing list