[clang-tools-extra] [include-cleaner] don't consider the associated header unused (PR #67228)

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 19 06:09:55 PDT 2024


================
@@ -227,6 +230,7 @@ class PragmaIncludes::RecordPragma : public PPCallbacks, public CommentHandler {
       IncludedHeader = *File;
     checkForExport(HashFID, HashLine, std::move(IncludedHeader), File);
----------------
sam-mccall wrote:

Nice catch, thanks!

https://github.com/llvm/llvm-project/pull/67228


More information about the cfe-commits mailing list