[Attributes] Remove special SRet/ByVal attribute handling in C API
authorNikita Popov <npopov@redhat.com>
Tue, 11 Oct 2022 07:39:39 +0000 (09:39 +0200)
committerNikita Popov <npopov@redhat.com>
Tue, 11 Oct 2022 07:39:39 +0000 (09:39 +0200)
commit15c1ab25ab85cb62a305664cc8b418a9b912bf4e
tree25d56d2c4447649a4eac195cedd8c152fd635149
parent884bb97dca257b90dbe6fd0faf09512858292151
[Attributes] Remove special SRet/ByVal attribute handling in C API

Proper construction functions for these have long since been
exposed, and these attributes require a type nowadays, so drop the
old compatibility code.
llvm/lib/IR/Core.cpp