[PATCH] D44908: [ObjC++] Make parameter passing and function return compatible with ObjC

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 26 13:26:26 PDT 2018


ahatanak added a comment.

I tried to move the code in MicrosoftCXXABI::getRecordArgABI and ItaniumCXXABI::passClassIndirect that determine whether a struct is passed indirectly to Sema::CheckCompletedCXXClass, but couldn't do so since getClangABICompat() is a method of CodeGenOpts, which Sema doesn't have access to. This would allow removing ForcePassIndirectly.


Repository:
  rC Clang

https://reviews.llvm.org/D44908





More information about the cfe-commits mailing list