This reverts commit d46fa023caa2db5a9f1e21dd038bcb626261d958.
Regressed include order in some cases with trailing comments, see the
comments on https://reviews.llvm.org/D121370.
Paths
| Differential D124512
Revert "[clang-format] SortIncludes should support "@import" lines in Objective-C" AbandonedPublic Authored by krasimir on Apr 27 2022, 2:49 AM.
Details
Summary This reverts commit d46fa023caa2db5a9f1e21dd038bcb626261d958. Regressed include order in some cases with trailing comments, see the
Diff Detail
Unit TestsFailed
Event Timelinekrasimir added a child revision: D124513: [clang-format] add a regression test for include sorting.Apr 27 2022, 2:52 AM
Revision Contents
Diff 425453 clang/include/clang/Tooling/Inclusions/HeaderIncludes.h
clang/lib/Format/Format.cpp
clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
clang/unittests/Format/SortIncludesTest.cpp
|