[all-commits] [llvm/llvm-project] ce9443: [clangd] Add designator inlay hints for initialize...
Sam McCall via All-commits
all-commits at lists.llvm.org
Tue Jan 25 15:44:49 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ce94432702bf42a0b95a2693aa47177f37dd0bb3
https://github.com/llvm/llvm-project/commit/ce94432702bf42a0b95a2693aa47177f37dd0bb3
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2022-01-26 (Wed, 26 Jan 2022)
Changed paths:
M clang-tools-extra/clangd/Config.h
M clang-tools-extra/clangd/ConfigCompile.cpp
M clang-tools-extra/clangd/ConfigFragment.h
M clang-tools-extra/clangd/ConfigYAML.cpp
M clang-tools-extra/clangd/InlayHints.cpp
M clang-tools-extra/clangd/Protocol.cpp
M clang-tools-extra/clangd/Protocol.h
M clang-tools-extra/clangd/unittests/InlayHintTests.cpp
Log Message:
-----------
[clangd] Add designator inlay hints for initializer lists.
These make the init lists appear as if designated initialization was used.
Example:
ExpectedHint{"param: ", "arg"}
becomes
ExpectedHint{.Label="param: ", .RangeName="arg"}
Differential Revision: https://reviews.llvm.org/D116786
More information about the All-commits
mailing list