[PATCH] D119209: Implement -fctor_dtor_return_this ABI option.

Shu-Chun Weng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 3 13:43:48 PDT 2022


scw updated this revision to Diff 464793.
scw retitled this revision from "Implement -mctor_dtor_return_this ABI option.                                   " to "Implement -fctor_dtor_return_this ABI option.".
scw edited the summary of this revision.
scw added a comment.

- Made the option cc1-only (invoke through -Xclang).
- Changed the name to -f... from -m...
- Remove mentioning of Itanium ABI--it applies to all C++ ABIs but is overridden by the Microsoft one.




Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119209

Files:
  clang/include/clang/Basic/CodeGenOptions.def
  clang/include/clang/Driver/Options.td
  clang/lib/CodeGen/CGCXXABI.h
  clang/lib/CodeGen/ItaniumCXXABI.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/test/CodeGenCXX/constructor-destructor-return-this.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119209.464793.patch
Type: text/x-patch
Size: 13373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221003/53e76c3a/attachment.bin>


More information about the cfe-commits mailing list