hokein accepted this revision. hokein added inline comments. This revision is now accepted and ready to land.
================ Comment at: clang-tools-extra/clangd/GlobalCompilationDatabase.cpp:168 std::lock_guard<std::mutex> Lock(Mutex); + CachedCDB *Entry; if (CompileCommandsDir) { ---------------- nit: set default `nullptr`. ================ Comment at: clang-tools-extra/clangd/GlobalCompilationDatabase.cpp:210 if (CompileCommandsDir) { assert(*CompileCommandsDir == Result.PI.SourceRoot && "Trying to broadcast a CDB outside of CompileCommandsDir!"); ---------------- should we use the `pathEqual` here too? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D65320/new/ https://reviews.llvm.org/D65320 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits