[all-commits] [llvm/llvm-project] eed4a4: [clang-tidy] Correct the include-cleaner-check dia...

Haojian Wu via All-commits all-commits at lists.llvm.org
Thu Jun 15 06:27:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eed4a4d02e4f33cc2f2a9980466d1c7a1cf37398
      https://github.com/llvm/llvm-project/commit/eed4a4d02e4f33cc2f2a9980466d1c7a1cf37398
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/IncludeCleanerCheck.cpp
    M clang-tools-extra/clangd/IncludeCleaner.cpp
    M clang-tools-extra/include-cleaner/include/clang-include-cleaner/Types.h
    M clang-tools-extra/include-cleaner/lib/Types.cpp
    M clang-tools-extra/test/clang-tidy/checkers/misc/include-cleaner.cpp

  Log Message:
  -----------
  [clang-tidy] Correct the include-cleaner-check diagnostic message for missing-includes.

We should print the symbol name rather than the header name in the
message.

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




More information about the All-commits mailing list