[clang] [CIR] Add virtual base support to getAddressOfBaseClass (PR #159162)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 29 11:16:59 PDT 2025


================
@@ -865,39 +865,55 @@ Address CIRGenFunction::getAddressOfBaseClass(
     bool nullCheckValue, SourceLocation loc) {
   assert(!path.empty() && "Base path should not be empty!");
 
+  CastExpr::path_const_iterator start = path.begin();
----------------
erichkeane wrote:

Ah, hrmph.... ok, that is fine to me.  Whole patch LGTM then.

https://github.com/llvm/llvm-project/pull/159162


More information about the cfe-commits mailing list