This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Drop returntype/type when hovering over type-ish names
ClosedPublic

Authored by kadircet on Jan 21 2020, 7:50 AM.

Details

Summary

Some names, e.g. constructor/destructor/conversions, already contain
the type info, no need to duplicate them in the hoverinfo.

Fixes https://github.com/clangd/clangd/issues/252

Diff Detail

Event Timeline

kadircet created this revision.Jan 21 2020, 7:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 21 2020, 7:50 AM

Unit tests: pass. 62057 tests passed, 0 failed and 784 were skipped.

clang-tidy: unknown.

clang-format: pass.

Build artifacts: diff.json, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

sammccall accepted this revision.Jan 21 2020, 8:04 AM
This revision is now accepted and ready to land.Jan 21 2020, 8:04 AM
This revision was automatically updated to reflect the committed changes.