Skip to content

[CIR] Upstream support for virtual base classes #143789

@andykaylor

Description

@andykaylor

Overview

Upstream support for virtual base classes in ClangIR.

Suggested minimal test case

class A {
public:
  int a;
  virtual void v() {}
};

class B : public virtual A {
public:
  int b;
  virtual void w();
};

Existing incubator tests

clang/test/CIR/CodeGen/vtt.cpp

Metadata

Metadata

Assignees

Labels

ClangIRAnything related to the ClangIR project

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions