[all-commits] [llvm/llvm-project] e7c9f2: [CIR] Add initial support for virtual base classes...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Wed Aug 27 15:41:01 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7c9f2db41900c8991f6d3172e9bf74e57c39736
      https://github.com/llvm/llvm-project/commit/e7c9f2db41900c8991f6d3172e9bf74e57c39736
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-08-27 (Wed, 27 Aug 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenCXXABI.h
    M clang/lib/CIR/CodeGen/CIRGenClass.cpp
    M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
    M clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp
    M clang/lib/CIR/CodeGen/CIRGenRecordLayout.h
    M clang/lib/CIR/CodeGen/CIRGenRecordLayoutBuilder.cpp
    A clang/test/CIR/CodeGen/vbase.cpp
    A clang/test/CIR/CodeGen/vtt.cpp

  Log Message:
  -----------
  [CIR] Add initial support for virtual base classes (#155534)

This adds support for declaring a class with a virtual base class and
initializing the vptr in the constructor. This does not yet handle
constructors that require a virtual table table (VTT) implicit argument.



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