[CodeGen] Add ParmVarDecls to FunctionDecls that are created to generate
authorAkira Hatanaka <ahatanaka@apple.com>
Tue, 29 Jun 2021 23:27:24 +0000 (16:27 -0700)
committerAkira Hatanaka <ahatanaka@apple.com>
Tue, 29 Jun 2021 23:27:24 +0000 (16:27 -0700)
commit6cda73e3c44968eb6fff4b73cb6f1d0ef7d861f4
treeb2bf327263b59f3112df712b38eb23b9c4e5d960
parent1df981f43ae9041ed326a3d806fcbb8278211ca4
[CodeGen] Add ParmVarDecls to FunctionDecls that are created to generate
ObjC property getter/setter functions

This is needed to prevent clang from crashing when we make the changes
proposed in https://reviews.llvm.org/D98799.

Differential Revision: https://reviews.llvm.org/D104883
clang/lib/CodeGen/CGObjC.cpp