This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Expose the xref's incomplete flag to clangdServer API.
ClosedPublic

Authored by hokein on Nov 18 2019, 2:37 AM.

Details

Summary

so that clangd C++ API users (via ClangdServer) can access it.

Diff Detail

Event Timeline

hokein created this revision.Nov 18 2019, 2:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 18 2019, 2:37 AM

Build result: fail - 60148 tests passed, 1 failed and 729 were skipped.

failed: LLVM.Bindings/Go/go.test

Log files: console-log.txt, CMakeCache.txt

sammccall added inline comments.Nov 18 2019, 3:25 AM
clang-tools-extra/clangd/XRefs.h
128

References -> ReferenceList or ReferencesResult, and Refs -> References?

calling the struct References seems unclear, and takes away the useful unabbreviated variable name

128

these comments don't seem to add much - remove?

129

we call this HasMore in code complete.

(incomplete is one word)

Oops, LG apart from naming nits

sammccall accepted this revision.Nov 18 2019, 3:25 AM

Let's see how many times I can miss the button

This revision is now accepted and ready to land.Nov 18 2019, 3:25 AM
hokein updated this revision to Diff 229808.Nov 18 2019, 4:27 AM
hokein marked 3 inline comments as done.

address naming comments.

This revision was automatically updated to reflect the committed changes.