[PATCH] D38425: [clangd] Document highlights for clangd

William Enright via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 24 09:29:02 PST 2017


Nebiroth marked 31 inline comments as done.
Nebiroth added inline comments.


================
Comment at: clangd/ClangdServer.h:291
+  /// Get document highlights for a symbol hovered on.
+  Tagged<std::vector<DocumentHighlight>> findDocumentHighlights(PathRef File,
+                                                                Position Pos);
----------------
malaperle wrote:
> can this thing fail? Should it be Expected<Tagged... ??
Oops, yeah this should be a llvm::Expected


https://reviews.llvm.org/D38425





More information about the cfe-commits mailing list