[all-commits] [llvm/llvm-project] 28f708: [CodeGen][ObjC] Call synthesized copy constructor/...
Akira Hatanaka via All-commits
all-commits at lists.llvm.org
Fri Oct 14 10:41:51 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 28f7087c9163f66b07e17bd47a1bfb5d9448467d
https://github.com/llvm/llvm-project/commit/28f7087c9163f66b07e17bd47a1bfb5d9448467d
Author: Akira Hatanaka <ahatanaka at apple.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M clang/lib/CodeGen/CGObjC.cpp
A clang/test/CodeGenObjC/nontrivial-c-struct-property.m
Log Message:
-----------
[CodeGen][ObjC] Call synthesized copy constructor/assignment operator
functions in getter/setter functions of non-trivial C struct properties
This fixes a bug where the getter/setter functions were doing a trivial
copy instead of calling the synthesized functions that copy non-trivial
C struct types.
This fixes https://github.com/llvm/llvm-project/issues/56680.
Differential Revision: https://reviews.llvm.org/D131701
More information about the All-commits
mailing list