[all-commits] [llvm/llvm-project] e8cc74: Revert "[clang-format] SortIncludes should support...

Krasimir Georgiev via All-commits all-commits at lists.llvm.org
Thu Apr 28 02:00:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8cc7490d23477233d21c72923a4f8ea43bfbbc0
      https://github.com/llvm/llvm-project/commit/e8cc7490d23477233d21c72923a4f8ea43bfbbc0
  Author: Krasimir Georgiev <krasimir at google.com>
  Date:   2022-04-28 (Thu, 28 Apr 2022)

  Changed paths:
    M clang/include/clang/Tooling/Inclusions/HeaderIncludes.h
    M clang/lib/Format/Format.cpp
    M clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
    M clang/unittests/Format/SortIncludesTest.cpp

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

This reverts commit d46fa023caa2db5a9f1e21dd038bcb626261d958.
Regressed include order in some cases with trailing comments, see the
comments on https://reviews.llvm.org/D121370. Will add a regression test
in a follow-up commit.




More information about the All-commits mailing list