aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMarina Taylor <marina_taylor@apple.com>2025-05-13 16:04:49 +0100
committerGitHub <noreply@github.com>2025-05-13 16:04:49 +0100
commit4b794c8aff3ba01d95bd29973f45ff776aaee3ed (patch)
tree8a14756263c68e3f41c6c355cd342697c380aa48 /clang/lib/CodeGen/CodeGenModule.cpp
parente4b6cc314a459b803ea6b3dc8b63da38d1dd50db (diff)
downloadllvm-4b794c8aff3ba01d95bd29973f45ff776aaee3ed.zip
llvm-4b794c8aff3ba01d95bd29973f45ff776aaee3ed.tar.gz
llvm-4b794c8aff3ba01d95bd29973f45ff776aaee3ed.tar.bz2
[ObjC] Support objc_claimAutoreleasedReturnValue (#139720)
This adds basic support for objc_claimAutoreleasedReturnValue, which is mostly equivalent to objc_retainAutoreleasedReturnValue, with the difference that it doesn't require the marker nop to be emitted between it and the call it was attached to. To achieve that, this also teaches the AArch64 attachedcall bundle lowering to pick whether the marker should be emitted or not based on whether the attachedcall target is claimARV or retainARV. Co-authored-by: Ahmed Bougacha <ahmed@bougacha.org>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions