[clang] [clang][bytecode] Support virtual bases in C++26 (PR #204289)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 25 22:59:00 PDT 2026


Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/204289 at github.com>


================
@@ -886,7 +886,7 @@ bool ConstStructBuilder::Build(const APValue &Val, const RecordDecl *RD,
           return false;
       }
 
-      if (Toplevel) {
+      if (IsCompleteClass) {
----------------
tbaederr wrote:

@efriedma-quic I prefer this name over the old one. If you agree, I'll rename the other instances of "Toplevel" as wel.

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


More information about the cfe-commits mailing list