ioeric added inline comments.
================ Comment at: clangd/ClangdLSPServer.cpp:386 + if (!U) + llvm_unreachable( + "onDiagnosticsReady: Expect creating URI for file to always work."); ---------------- not sure if this is the right thing to do. idea? ================ Comment at: clangd/URI.h:32 + // By default, create a simplest valid file URI. + URI() : Scheme("file") {} + ---------------- same here. There are many default constructions of structures that contain URIs in ClangdLSPServer.cpp... Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D42419 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits