diff options
author | David Goldman <davg@google.com> | 2021-12-29 16:20:29 -0500 |
---|---|---|
committer | David Goldman <davg@google.com> | 2022-03-17 11:31:14 -0400 |
commit | 1af5fbd5c605372963f78351f721fa28ee5ba60e (patch) | |
tree | eb529377bd84cb339eb92456c8d5d7a86d4d0acd /llvm/lib/Object/ELFObjectFile.cpp | |
parent | cb2f2fecc151999a7892a9d1325a34f85dabcecb (diff) | |
download | llvm-1af5fbd5c605372963f78351f721fa28ee5ba60e.zip llvm-1af5fbd5c605372963f78351f721fa28ee5ba60e.tar.gz llvm-1af5fbd5c605372963f78351f721fa28ee5ba60e.tar.bz2 |
[clangd] Code action for creating an ObjC initializer
The code action creates an initializer for the selected
ivars/properties, defaulting to all if only the interface/implementation
container is selected.
We add it based on the position of the first non initializer that we
see, and default to adding it where the @end token is.
We also use the ObjC parameter form of (nullable id) instead of
(id _Nullable) if the property has the nullable attribute.
Differential Revision: https://reviews.llvm.org/D116385
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions