This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Share getSymbolID implementation.
ClosedPublic

Authored by hokein on Aug 7 2018, 1:32 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

hokein created this revision.Aug 7 2018, 1:32 AM
ioeric accepted this revision.Aug 7 2018, 1:48 AM
ioeric added inline comments.
clangd/AST.cpp
59 ↗(On Diff #159464)

nit: no braces

clangd/AST.h
38 ↗(On Diff #159464)

nit: this isn't necessary a failure. D might not have USR. Maybe ..., if possible. like the original wording?

clangd/CodeComplete.cpp
399 ↗(On Diff #159464)

No need for namespace qualifiers?

This revision is now accepted and ready to land.Aug 7 2018, 1:48 AM
hokein updated this revision to Diff 159466.Aug 7 2018, 1:56 AM
hokein marked 3 inline comments as done.

Address comments.

hokein added inline comments.Aug 7 2018, 1:57 AM
clangd/CodeComplete.cpp
399 ↗(On Diff #159464)

We need the qualifiers to disambiguate the function name, because this function name is also getSymbolID.

This revision was automatically updated to reflect the committed changes.