[clang-tidy] Correct the include-cleaner-check diagnostic message for missing-includes.
authorHaojian Wu <hokein.wu@gmail.com>
Thu, 15 Jun 2023 11:48:50 +0000 (13:48 +0200)
committerHaojian Wu <hokein.wu@gmail.com>
Thu, 15 Jun 2023 13:26:48 +0000 (15:26 +0200)
commiteed4a4d02e4f33cc2f2a9980466d1c7a1cf37398
treee5b61fcab6ea6f885d00be1bff16e8bf33f5a743
parent015323ff9b21086448eb8ea92328244455b82c37
[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
clang-tools-extra/clang-tidy/misc/IncludeCleanerCheck.cpp
clang-tools-extra/clangd/IncludeCleaner.cpp
clang-tools-extra/include-cleaner/include/clang-include-cleaner/Types.h
clang-tools-extra/include-cleaner/lib/Types.cpp
clang-tools-extra/test/clang-tidy/checkers/misc/include-cleaner.cpp