[all-commits] [llvm/llvm-project] 3c8dfc: [clang][bytecode][NFC] Use RetPC in InterpFrame::g...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Jan 31 03:55:03 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c8dfce3def48982e47f2fbad5b78f409ef63467
      https://github.com/llvm/llvm-project/commit/3c8dfce3def48982e47f2fbad5b78f409ef63467
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-01-31 (Fri, 31 Jan 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpFrame.cpp

  Log Message:
  -----------
  [clang][bytecode][NFC] Use RetPC in InterpFrame::getExpr() as well (#125200)

Both getLocation() and getRange() use the RetPC if the current function
doesn't have a usable body. Using PC here was just a typo.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list