[PATCH] D60263: [clang-format] Preserve include blocks in ObjC Google style
Eric Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 4 06:21:45 PDT 2019
ioeric added inline comments.
================
Comment at: lib/Format/Format.cpp:787
GoogleStyle.IncludeStyle.IncludeIsMainRegex = "([-_](test|unittest))?$";
GoogleStyle.IncludeStyle.IncludeBlocks = tooling::IncludeStyle::IBS_Regroup;
GoogleStyle.IndentCaseLabels = true;
----------------
maybe we should also only use regroup for cpp? `regroup` is only supported in `sortCppIncludes` after all.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60263/new/
https://reviews.llvm.org/D60263
More information about the cfe-commits
mailing list