[PATCH] D124512: Revert "[clang-format] SortIncludes should support "@import" lines in Objective-C"

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 27 02:49:33 PDT 2022


krasimir created this revision.
Herald added a project: All.
krasimir requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This reverts commit d46fa023caa2db5a9f1e21dd038bcb626261d958 <https://reviews.llvm.org/rGd46fa023caa2db5a9f1e21dd038bcb626261d958>.

Regressed include order in some cases with trailing comments, see the
comments on https://reviews.llvm.org/D121370.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124512

Files:
  clang/include/clang/Tooling/Inclusions/HeaderIncludes.h
  clang/lib/Format/Format.cpp
  clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
  clang/unittests/Format/SortIncludesTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124512.425453.patch
Type: text/x-patch
Size: 11958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220427/34a69a23/attachment.bin>


More information about the cfe-commits mailing list