[all-commits] [llvm/llvm-project] 38ffc8: [clang][Interp] Fix ignoring expression return values

Timm Bäder via All-commits all-commits at lists.llvm.org
Fri Oct 28 07:51:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 38ffc89c87ac3b0b1c2173728fba2258dead9ae0
      https://github.com/llvm/llvm-project/commit/38ffc89c87ac3b0b1c2173728fba2258dead9ae0
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-10-28 (Fri, 28 Oct 2022)

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

  Log Message:
  -----------
  [clang][Interp] Fix ignoring expression return values

Randomly noticed this. We need to honor DiscardResult here.

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




More information about the All-commits mailing list