Also made JSON serialize Optional<T> to simplify this.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
Paths
| Differential D47701
[clangd] Hover should return null when not hovering over anything. ClosedPublic Authored by sammccall on Jun 4 2018, 3:32 AM.
Details Summary Also made JSON serialize Optional<T> to simplify this.
Diff Detail
Event TimelineHerald added subscribers: cfe-commits, jkorous, MaskRay and 2 others. · View Herald TranscriptJun 4 2018, 3:32 AM This revision is now accepted and ready to land.Jun 4 2018, 3:39 AM Closed by commit rCTE333881: [clangd] Hover should return null when not hovering over anything. (authored by sammccall). · Explain WhyJun 4 2018, 3:41 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 149705 clangd/ClangdLSPServer.cpp
clangd/ClangdServer.h
clangd/ClangdServer.cpp
clangd/JSONExpr.h
clangd/XRefs.h
clangd/XRefs.cpp
test/clangd/hover.test
unittests/clangd/JSONExprTests.cpp
unittests/clangd/XRefsTests.cpp
|