[clang] [CIR] Add initial support for virtual base classes (PR #155534)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 27 14:48:45 PDT 2025
================
@@ -180,7 +180,11 @@ CharUnits CodeGenModule::computeNonVirtualBaseClassOffset(
// Get the layout.
const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD);
- const auto *BaseDecl = Base->getType()->castAsCXXRecordDecl();
+ const auto *BaseDecl =
----------------
andykaylor wrote:
Ignore these changes. They're artifacts from another PR.
https://github.com/llvm/llvm-project/pull/155534
More information about the cfe-commits
mailing list