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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D154434
[clang-tidy] Don't emit the whole spelling include header in include-cleaner diagnostic message ClosedPublic Authored by hokein on Jul 4 2023, 4:23 AM.
Details Summary To keep the message short and consistent with clangd, and the diagnostics are
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 4 2023, 4:29 AM Closed by commit rG2444fb96435e: [clang-tidy] Don't emit the whole spelling include header in include-cleaner… (authored by hokein). · Explain WhyJul 4 2023, 5:33 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 537063 clang-tools-extra/clang-tidy/misc/IncludeCleanerCheck.cpp
clang-tools-extra/test/clang-tidy/checkers/misc/include-cleaner.cpp
|