[all-commits] [llvm/llvm-project] 599b2a: [CIR] Add support for derived class declarations (...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Thu Jun 5 10:11:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 599b2a3475f1c40b34f2414e55de68c67ebe9d21
      https://github.com/llvm/llvm-project/commit/599b2a3475f1c40b34f2414e55de68c67ebe9d21
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-06-05 (Thu, 05 Jun 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIRTypes.td
    M clang/include/clang/CIR/MissingFeatures.h
    M clang/lib/CIR/CodeGen/CIRGenBuilder.h
    M clang/lib/CIR/CodeGen/CIRGenRecordLayout.h
    M clang/lib/CIR/CodeGen/CIRGenRecordLayoutBuilder.cpp
    M clang/lib/CIR/CodeGen/CIRGenTypes.cpp
    M clang/test/CIR/CodeGen/class.cpp

  Log Message:
  -----------
  [CIR] Add support for derived class declarations (#142823)

This adds the minimal support for declaring a pointer to a derived
class. This includes only the changes necessary to compute the record
layout for the derived class and declare a variable that points to it.

Support for accessing members of either the derived or base class is
deferred until a later change, as is support for declaring a variable
that is an instance of the derived class.



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