[all-commits] [llvm/llvm-project] 6aac11: [clang][Interp] Evaluate Base when discarding a Me...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Aug 1 01:17:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6aac11bad9763dd0ff14637823311187fc3c11a7
      https://github.com/llvm/llvm-project/commit/6aac11bad9763dd0ff14637823311187fc3c11a7
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-08-01 (Tue, 01 Aug 2023)

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

  Log Message:
  -----------
  [clang][Interp] Evaluate Base when discarding a MemberExpr

The Base expression might cause side-effects, so we still have to
evaluate it.

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




More information about the All-commits mailing list