[PATCH] D132111: [clang][Interp] Implement pointer (de)ref operations and DeclRefExprs
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 18 01:27:25 PDT 2022
tbaeder created this revision.
tbaeder added reviewers: aaron.ballman, erichkeane.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
I wanted to do only pointers here, but they are impossible to test without having some support for DeclRefExprs.
This also implements assignments because that was broken when implementing DeclRefExprs. Assignments were handled through `LValueToRValue` casts before.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D132111
Files:
clang/lib/AST/Interp/ByteCodeExprGen.cpp
clang/lib/AST/Interp/ByteCodeExprGen.h
clang/test/AST/Interp/cxx20.cpp
clang/test/AST/Interp/literals.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132111.453561.patch
Type: text/x-patch
Size: 5137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220818/5ae7229c/attachment.bin>
More information about the cfe-commits
mailing list