jvikstrom marked 3 inline comments as done. jvikstrom added inline comments.
================ Comment at: clang-tools-extra/clangd/ClangdUnit.cpp:75 + if (!SM->isInMainFile(D->getLocation())) + // This decl comes from another file and should not be included in the + // top level decls. ---------------- hokein wrote: > nit: This comment just repeats the code, I think the comment describe why we > need to do this check (because of the template instantiation?) Removed the D->isFromASTFile because this if actually covers that as well. Don't know what to do about comments though as it is not only specific to that case. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63817/new/ https://reviews.llvm.org/D63817 _______________________________________________ cfe-commits mailing list firstname.lastname@example.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits