[PATCH] D137232: [clang][Interp] Support inc/dec operators on pointers
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 2 01:12:18 PDT 2022
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.
I think this is pretty uncommon so I was trying to implement it without adding new opcodes, but looks like that's not possible.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137232
Files:
clang/lib/AST/Interp/ByteCodeExprGen.cpp
clang/lib/AST/Interp/Interp.h
clang/lib/AST/Interp/Opcodes.td
clang/test/AST/Interp/arrays.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137232.472524.patch
Type: text/x-patch
Size: 5888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221102/3e6f956b/attachment.bin>
More information about the cfe-commits
mailing list