[clang][Interp] Support pointer arithmethic in binary operators
authorTimm Bäder <tbaeder@redhat.com>
Thu, 13 Oct 2022 08:09:36 +0000 (10:09 +0200)
committerTimm Bäder <tbaeder@redhat.com>
Mon, 7 Nov 2022 06:47:19 +0000 (07:47 +0100)
commit10483ac743e69a6de684593565f586116b506b2e
tree6fd5058cd83342fd89d1ec9d0b2b137c55111d3b
parentd4f884c550bec6b195eefb454636adc71449c041
[clang][Interp] Support pointer arithmethic in binary operators

Differential Revision: https://reviews.llvm.org/D135858
clang/lib/AST/Interp/ByteCodeExprGen.cpp
clang/lib/AST/Interp/ByteCodeExprGen.h
clang/lib/AST/Interp/Interp.h
clang/lib/AST/Interp/Opcodes.td
clang/lib/AST/Interp/Pointer.cpp
clang/test/AST/Interp/arrays.cpp