This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Show template argument list in workspacesymbols and documentsymbols responses
ClosedPublic

Authored by kadircet on Mar 21 2019, 6:48 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

kadircet created this revision.Mar 21 2019, 6:48 AM

LG, just have a simple clarifying question.

clang-tools-extra/clangd/AST.cpp
112 ↗(On Diff #191680)

Where did this FIXME go? Is this now fixed?

kadircet marked an inline comment as done.Apr 11 2019, 3:27 AM
kadircet added inline comments.
clang-tools-extra/clangd/AST.cpp
112 ↗(On Diff #191680)

Yes, since printTemplateArgsAsWritten prints the args as written in the code(see changes in file clang-tools-extra/unittests/clangd/FindSymbolsTests.cpp, especially the tests with a FIXME).

Of course it still has the caveat of frienddecls, but I think the fixme inside printTemplateArgsAswritten is the one covering that case, not this one.

kadircet marked an inline comment as done.Apr 12 2019, 1:11 AM
kadircet added inline comments.
clang-tools-extra/clangd/AST.cpp
112 ↗(On Diff #191680)

This part of the change has been incorporated into parent change at D59639 per reviewer's request.

ilya-biryukov accepted this revision.Apr 12 2019, 1:22 AM
ilya-biryukov marked an inline comment as done.
ilya-biryukov added inline comments.
clang-tools-extra/clangd/AST.cpp
112 ↗(On Diff #191680)

LG. Just wanted to make sure it's not lost. Thanks!

This revision is now accepted and ready to land.Apr 12 2019, 1:22 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 12 2019, 3:10 AM