sammccall added inline comments.

================
Comment at: clang-tools-extra/clangd/ClangdLSPServer.cpp:463
+  // Server, CDB, etc.
+  llvm::Optional<WithContext> MainContext;
+  MainContext.emplace(BackgroundContext.clone());
----------------
As discussed offline: I think it'd be clearer to put this in a small block 
around the construction of clangd server. (Then we can avoid some ofthe 
Optional bits too)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68978/new/

https://reviews.llvm.org/D68978



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to