VitaNuo added a comment. Thanks for the comments!
================ Comment at: clang-tools-extra/clangd/Hover.cpp:1225 - HI.Provider = spellHeader(AST, SM.getFileEntryForID(SM.getMainFileID()), H); + HI.Provider = include_cleaner::spellHeader( + {H, AST.getPreprocessor().getHeaderSearchInfo(), ---------------- hokein wrote: > we probably need to add a `IncludeSpeller.h` #include insertion for this > file, and probably for `clangd/IncludeCleaner.cpp` as well Yeah also to the `IncludeCleanerCheck.cpp` now that I've rebased to main. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D150185/new/ https://reviews.llvm.org/D150185 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits