[all-commits] [llvm/llvm-project] 968b41: [clang][Interp] Fix derived-to-base casts for >1 l...

Timm Bäder via All-commits all-commits at lists.llvm.org
Mon Apr 3 02:36:25 PDT 2023


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

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

  Log Message:
  -----------
  [clang][Interp] Fix derived-to-base casts for >1 levels

The GetPtrBasePop op we were using only works for direct base classes.

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




More information about the All-commits mailing list