[PATCH] D43906: [clang-format] Improve detection of Objective-C block types
Ben Hamilton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 6 19:48:02 PST 2018
benhamilton added a comment.
> Right. So the difference is that for blocks, there is always a "(" after the "(^.....)". That should be easy to parse, no?
Yep, I've updated this diff to implement that as you recommended. I just had to handle nested parens (I couldn't find an existing way to deal with these so I wrote my own—let me know if I missed something.)
Repository:
rC Clang
https://reviews.llvm.org/D43906
More information about the cfe-commits
mailing list