diff options
author | Sam McCall <sam.mccall@gmail.com> | 2022-02-21 18:15:53 +0100 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2022-03-23 17:26:25 +0100 |
commit | 2da5c5781e5a833f52a47752d76423bbb7bcf1a1 (patch) | |
tree | 98f7399c40d49c316da200f8dc6a5789a6bb74d1 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | a0f6d12cd482fa37713aff2f34d1aee05766d2ca (diff) | |
download | llvm-2da5c5781e5a833f52a47752d76423bbb7bcf1a1.zip llvm-2da5c5781e5a833f52a47752d76423bbb7bcf1a1.tar.gz llvm-2da5c5781e5a833f52a47752d76423bbb7bcf1a1.tar.bz2 |
[clangd] Add inlay hints for auto-typed parameters with one instantiation.
This takes a similar approach as b9b6938183e, and shares some code.
The code sharing is limited as inlay hints wants to deduce the type of the
variable rather than the type of the `auto` per-se.
It drops support (in both places) for multiple instantiations yielding the same
type, as this is pretty rare and hard to build a nice API around.
Differential Revision: https://reviews.llvm.org/D120258
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions