[clang] [clang-repl] fix vtable symbol duplication error (closes #141039) (PR #185648)
Vassil Vassilev via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 16 23:05:53 PDT 2026
================
@@ -1300,11 +1301,18 @@ void CodeGenModule::EmitDeferredVTables() {
size_t savedSize = DeferredVTables.size();
#endif
- for (const CXXRecordDecl *RD : DeferredVTables)
+ for (const CXXRecordDecl *RD : DeferredVTables) {
----------------
vgvassilev wrote:
Why if something was emitted still stays in the deferred list?
https://github.com/llvm/llvm-project/pull/185648
More information about the cfe-commits
mailing list