[all-commits] [llvm/llvm-project] 3185e4: [clang][Interp] Fix post-inc/dec operator result

Timm Bäder via All-commits all-commits at lists.llvm.org
Wed Apr 26 00:36:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3185e47b5a8444e9fd70b746a7ad679dd131ffe4
      https://github.com/llvm/llvm-project/commit/3185e47b5a8444e9fd70b746a7ad679dd131ffe4
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-04-26 (Wed, 26 Apr 2023)

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

  Log Message:
  -----------
  [clang][Interp] Fix post-inc/dec operator result

We pushed the wrong value on the stack, always leaving a 0 behind.

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




More information about the All-commits mailing list