[all-commits] [llvm/llvm-project] 93aa41: [clang][Interp][NFC] Refector OffsetHelper

Timm Bäder via All-commits all-commits at lists.llvm.org
Wed Jan 25 08:24:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93aa4123066fb32a8e3c757ff0a280cfd93ec9f3
      https://github.com/llvm/llvm-project/commit/93aa4123066fb32a8e3c757ff0a280cfd93ec9f3
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-01-25 (Wed, 25 Jan 2023)

  Changed paths:
    M clang/lib/AST/Interp/Interp.h

  Log Message:
  -----------
  [clang][Interp][NFC] Refector OffsetHelper

There was a FIXME comment for this. Stop getting the values in
OffsetHelper and let the caller do that instead, so we can control
whether the value(s) are removed from the stack at all.

Also use ArithOp instead of the unclear boolean for Add.




More information about the All-commits mailing list