[PATCH] D154189: [clang][Interp] Implement zero-init of record types
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 30 00:59:38 PDT 2023
tbaeder created this revision.
tbaeder added reviewers: aaron.ballman, erichkeane, tahonermann, shafik.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Unify `CXXTemporaryObjectExpr` and `CXXConstructExpr` code and zero-initialize the object if requested.
Hints on how to test this properly without creating some weird intermediate object are welcome of course. :)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154189
Files:
clang/lib/AST/Interp/ByteCodeExprGen.cpp
clang/lib/AST/Interp/ByteCodeExprGen.h
clang/lib/AST/Interp/Descriptor.cpp
clang/lib/AST/Interp/Descriptor.h
clang/test/AST/Interp/records.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154189.536135.patch
Type: text/x-patch
Size: 6804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230630/8e705934/attachment.bin>
More information about the cfe-commits
mailing list