[all-commits] [llvm/llvm-project] 61dc0f: [Format] Don't sort includes if DisableFormat is true

Nathan James via All-commits all-commits at lists.llvm.org
Tue May 4 11:04:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 61dc0f2b593da149a4c0cea67819cd7bdbdd50b8
      https://github.com/llvm/llvm-project/commit/61dc0f2b593da149a4c0cea67819cd7bdbdd50b8
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
    M clang/lib/Format/Format.cpp
    M clang/unittests/Format/SortIncludesTest.cpp

  Log Message:
  -----------
  [Format] Don't sort includes if DisableFormat is true

Fixes https://llvm.org/PR35099.

I'm not sure if this decision was intentional but its definitely confusing for users.

Reviewed By: MyDeveloperDay, HazardyKnusperkeks, curdeius

Differential Revision: https://reviews.llvm.org/D101628




More information about the All-commits mailing list