This is an archive of the discontinued LLVM Phabricator instance.

[clangd] SymbolLocation only covers symbol name.
ClosedPublic

Authored by hokein on Feb 12 2018, 5:26 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

hokein created this revision.Feb 12 2018, 5:26 AM
sammccall accepted this revision.Feb 12 2018, 7:11 AM

Nice!

clangd/index/Index.cpp
40 ↗(On Diff #133839)

Was this just for debugging? I had this change locally when working on this code, but reverted it.
It's not applicable in lots of places we'd like to debug with a symbol, so I'd lean towards reverting it (and if we really need a verbose version, dumping the YAML)

clangd/index/Index.h
125 ↗(On Diff #133839)

This fragment doesn't really make sense. (Semicolon might be better, but really it should be another sentence).

Can we drop "the location of" so this fits on a line?

This revision is now accepted and ready to land.Feb 12 2018, 7:11 AM
This revision was automatically updated to reflect the committed changes.
hokein marked 2 inline comments as done.
This revision was automatically updated to reflect the committed changes.