[PATCH] D155385: [clangd] enable unused-include warnings for standard library headers

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 19 06:37:59 PDT 2023


kadircet accepted this revision.
kadircet added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang-tools-extra/clangd/IncludeCleaner.cpp:75-77
+    if (tooling::stdlib::Header::named(Inc.Written))
       return true;
     return false;
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155385/new/

https://reviews.llvm.org/D155385



More information about the cfe-commits mailing list