[PATCH] D127593: [clang] Fix trivially copyable for copy constructor and copy assignment operator

Javier Alvarez via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 13 12:34:04 PDT 2022


Javier-varez updated this revision to Diff 436516.
Javier-varez added a comment.

- Preseve ABI when clang is invoked with -fclang-abi-compat <= 14.
- Add test for defect report in `clang/test/CXX/drs/dr21xx.cpp`.
- Refactor ConstArg to remove if condition.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127593

Files:
  clang-tools-extra/test/clang-tidy/checkers/modernize-loop-convert-const.cpp
  clang/lib/Sema/SemaDeclCXX.cpp
  clang/test/CXX/drs/dr21xx.cpp
  clang/test/CXX/special/class.copy/p12-0x.cpp
  clang/test/CXX/special/class.copy/p25-0x.cpp
  clang/www/cxx_dr_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127593.436516.patch
Type: text/x-patch
Size: 6784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220613/fab674c4/attachment.bin>


More information about the cfe-commits mailing list