ilya-biryukov added a comment. Could you add a bit more context to the description of the change: why do we need the callback and what is the problem with what we have now? I'm sure this was discussed offline and the change is justified, just wanted to make sure we write it down in the change history.
================ Comment at: clang-tools-extra/clangd/ClangdLSPServer.cpp:334 + // No callback for the client reply, just log them. + if (!CB) { + if (Result) ---------------- NIT: simplify to ``` if (CB) return CB(std::move(Result)); // rest of the code. ``` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D65387/new/ https://reviews.llvm.org/D65387 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits