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

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 15 04:52:37 PDT 2023


hokein created this revision.
hokein added a reviewer: VitaNuo.
Herald added subscribers: PiotrZSL, kadircet, carlosgalvezp, arphaman, xazax.hun.
Herald added a reviewer: njames93.
Herald added a project: All.
hokein requested review of this revision.
Herald added a project: clang-tools-extra.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153013

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153013.531700.patch
Type: text/x-patch
Size: 6784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230615/f6a736ff/attachment.bin>


More information about the cfe-commits mailing list