tianshilei1992 added a subscriber: aaron.ballman.
tianshilei1992 added inline comments.


================
Comment at: clang/lib/CodeGen/CGDecl.cpp:2501
+      LValue Src = MakeAddrLValue(Arg.getIndirectAddress(), Ty);
+      callCStructCopyConstructor(Dst, Src);
+      PushCleanupIfNeeded(Arg.getIndirectAddress());
----------------
Hi @aaron.ballman, is it possible to invoke the copy constructor of a 
struct/class here, either it is user defined or default one?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129008/new/

https://reviews.llvm.org/D129008

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to