[PATCH] D149550: [clang][Interp] Fix compound assign operator evaluation order

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 30 07:21:55 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.

  We need to evaluated the RHS before the LHS.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149550

Files:
  clang/lib/AST/Interp/ByteCodeExprGen.cpp
  clang/test/AST/Interp/floats.cpp
  clang/test/AST/Interp/literals.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149550.518307.patch
Type: text/x-patch
Size: 2927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230430/f7168e43/attachment.bin>


More information about the cfe-commits mailing list