By inlining a complicated lambda into its single call-site.
Also ensure we call Reply() exactly once even if tweaks return both
ShowMessage and ApplyEdit effects.
Paths
| Differential D66343
[clangd] Simplify code of ClangdLSPServer::onCommand ClosedPublic Authored by ilya-biryukov on Aug 16 2019, 5:23 AM.
Details Summary By inlining a complicated lambda into its single call-site. Also ensure we call Reply() exactly once even if tweaks return both
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 16 2019, 5:39 AM Closed by commit rL369100: [clangd] Simplify code of ClangdLSPServer::onCommand (authored by ibiryukov). · Explain WhyAug 16 2019, 5:49 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 215573 clang-tools-extra/trunk/clangd/ClangdLSPServer.cpp
|