Add limited support for "IWYU pragma: export" - for now it just supresses the
warning similar to "IWYU pragma: keep".
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D124170
[clangd] Include Cleaner: suppress unused warnings for IWYU pragma: export ClosedPublic Authored by kbobyrev on Apr 21 2022, 6:53 AM.
Details Summary Add limited support for "IWYU pragma: export" - for now it just supresses the
Diff Detail
Event Timelinesammccall added inline comments. This revision is now accepted and ready to land.Apr 21 2022, 7:16 AM This revision was landed with ongoing or failed builds.Apr 21 2022, 8:00 AM Closed by commit rG9f05b111ee1f: [clangd] Include Cleaner: suppress unused warnings for IWYU pragma: export (authored by kbobyrev). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 424188 clang-tools-extra/clangd/Headers.cpp
clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
|
or just drop to IWYUPragma and hardcode "keep" and "export" at the sites? up to you