[clang] [CIR] Add support for accessing members of base classes (PR #143195)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 6 13:14:35 PDT 2025
================
@@ -1677,6 +1678,34 @@ bool CIRGenModule::verifyModule() const {
return mlir::verify(theModule).succeeded();
}
+// TODO(cir): this can be shared with LLVM codegen.
+CharUnits CIRGenModule::computeNonVirtualBaseClassOffset(
+ const CXXRecordDecl *derivedClass, CastExpr::path_const_iterator start,
----------------
erichkeane wrote:
Could/should this take a range instead of iterators?
https://github.com/llvm/llvm-project/pull/143195
More information about the cfe-commits
mailing list