This is an archive of the discontinued LLVM Phabricator instance.

[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
attached to the #include line, users have enough context to understand the whole #include.

Diff Detail

Event Timeline

hokein created this revision.Jul 4 2023, 4:23 AM
Herald added a project: Restricted Project. · View Herald Transcript
hokein requested review of this revision.Jul 4 2023, 4:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 4 2023, 4:23 AM
kadircet accepted this revision.Jul 4 2023, 4:29 AM
This revision is now accepted and ready to land.Jul 4 2023, 4:29 AM