[all-commits] [llvm/llvm-project] b0831c: [clang-tidy][misc-include-cleaner]Avoid to insert ...

Congcong Cai via All-commits all-commits at lists.llvm.org
Wed Sep 6 02:37:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0831c3996752038c375796d8ebb4f471f1ea251
      https://github.com/llvm/llvm-project/commit/b0831c3996752038c375796d8ebb4f471f1ea251
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2023-09-06 (Wed, 06 Sep 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/IncludeCleanerCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/unittests/clang-tidy/IncludeCleanerTest.cpp

  Log Message:
  -----------
  [clang-tidy][misc-include-cleaner]Avoid to insert same include header multiple times (#65431)

`HeaderIncludes` won't update `ExistingIncludes` during inserting.
We need to manage it in tidy check.

Fixed: #65285




More information about the All-commits mailing list