[all-commits] [llvm/llvm-project] 2444fb: [clang-tidy] Don't emit the whole spelling include...

Haojian Wu via All-commits all-commits at lists.llvm.org
Tue Jul 4 05:32:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2444fb96435ecae73211f3ced3d06e48719afe97
      https://github.com/llvm/llvm-project/commit/2444fb96435ecae73211f3ced3d06e48719afe97
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2023-07-04 (Tue, 04 Jul 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/IncludeCleanerCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/misc/include-cleaner.cpp

  Log Message:
  -----------
  [clang-tidy] Don't emit the whole spelling include header in include-cleaner diagnostic message

To keep the message short and consistent with clangd, and the diagnostics are
attached to the #include line, users have enough context to understand the whole #include.

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




More information about the All-commits mailing list