[all-commits] [llvm/llvm-project] 786364: [clang][Interp] DerivedToBase casts

Timm Bäder via All-commits all-commits at lists.llvm.org
Thu Nov 10 23:38:41 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7863646fd206952492b9abdbf690be2c4198d728
      https://github.com/llvm/llvm-project/commit/7863646fd206952492b9abdbf690be2c4198d728
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

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

  Log Message:
  -----------
  [clang][Interp] DerivedToBase casts

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


  Commit: 0dcfd0ce020b4d5fb8d9eb549150d750a6bab68d
      https://github.com/llvm/llvm-project/commit/0dcfd0ce020b4d5fb8d9eb549150d750a6bab68d
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    A clang/test/AST/Interp/class-layout.cpp
    M clang/test/AST/Interp/cxx20.cpp

  Log Message:
  -----------
  [clang][Interp] Support alignof()

Support alignof() and __alignof() expressions.

Fixes #58816

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


  Commit: 99d3ead44cfb21dca24c63a0b0731eaad54b491e
      https://github.com/llvm/llvm-project/commit/99d3ead44cfb21dca24c63a0b0731eaad54b491e
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

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

  Log Message:
  -----------
  [clang][Interp] Protect Record creation against infinite recursion

This happens only in error cases, but we need to handle it anyway.

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


Compare: https://github.com/llvm/llvm-project/compare/a5d14f757bb1...99d3ead44cfb


More information about the All-commits mailing list