[PATCH] D116786: [clangd] Add designator inlay hints for initializer lists.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 6 19:15:52 PST 2022
sammccall created this revision.
sammccall added a reviewer: nridge.
Herald added subscribers: usaxena95, kadircet, arphaman.
sammccall requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.
These make the init lists appear as if designated initialization was used.
Example:
ExpectedHint{"param: ", "arg"}
becomes
ExpectedHint{.Label="param: ", .RangeName="arg"}
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D116786
Files:
clang-tools-extra/clangd/InlayHints.cpp
clang-tools-extra/clangd/Protocol.cpp
clang-tools-extra/clangd/Protocol.h
clang-tools-extra/clangd/unittests/InlayHintTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116786.398033.patch
Type: text/x-patch
Size: 15047 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220107/3f6f10fe/attachment.bin>
More information about the cfe-commits
mailing list