[all-commits] [llvm/llvm-project] a1c0e3: [clang][Interp] Fix compound assign operator evalu...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Jul 20 06:58:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a1c0e3be6f09be1315c21911b646eb9ddc5048c4
      https://github.com/llvm/llvm-project/commit/a1c0e3be6f09be1315c21911b646eb9ddc5048c4
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/AST/Interp/floats.cpp
    M clang/test/AST/Interp/literals.cpp

  Log Message:
  -----------
  [clang][Interp] Fix compound assign operator evaluation order

We need to evaluated the RHS before the LHS.

Differential Revision: https://reviews.llvm.org/D149550




More information about the All-commits mailing list