[clang][Interp] Implement missing compound assign operators
authorTimm Bäder <tbaeder@redhat.com>
Mon, 31 Oct 2022 11:44:38 +0000 (12:44 +0100)
committerTimm Bäder <tbaeder@redhat.com>
Thu, 19 Jan 2023 11:24:56 +0000 (12:24 +0100)
commit490e8214fca48824beda8b508d6d6bbbf3d8d9a7
treea63f34c363329f47185d3edd061cd91c4e73338e
parent9ee0d7494eb35f5addefcb730cdf5c002ddeacd2
[clang][Interp] Implement missing compound assign operators

Implement mul, div, rem, etc. compound assign operators.

Differential Revision: https://reviews.llvm.org/D137071
clang/lib/AST/Interp/ByteCodeExprGen.cpp
clang/test/AST/Interp/literals.cpp