kadircet accepted this revision. kadircet added a comment. This revision is now accepted and ready to land.
thanks for bearing with me, LG! ================ Comment at: clang-tools-extra/include-cleaner/lib/Record.cpp:72 + void checkForExport(FileID FileSeenHash, int HashLine, + const FileEntry *IncludedHeader) { ---------------- `FileSeenHash` feels a little bit confusing (sounds like hash of an entity), why not directly call it as the `IncludingFile`? (similarly instead of `HashLine`, `IncludeLine` or `DirectiveLine` ?) ================ Comment at: clang-tools-extra/include-cleaner/lib/Record.cpp:84 + Out->IWYUExportBy[IncludedHeader->getUniqueID()].push_back( + save(SM.getFileEntryForID(Top.SeenAtFile)->tryGetRealPathName())); + // main-file #include with export pragma should never be removed. ---------------- i guess we should just use `Top.FullPath` here instead? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D137319/new/ https://reviews.llvm.org/D137319 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits