[clang] [C++20] [Modules] [Itanium ABI] Generate the vtable in the module unit of dynamic classes (PR #75912)
John McCall via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 5 11:20:26 PST 2024
================
@@ -1801,6 +1801,12 @@ void ItaniumCXXABI::emitVTableDefinitions(CodeGenVTables &CGVT,
if (VTable->hasInitializer())
return;
+ // If the class are attached to a C++ named module other than the one
----------------
rjmccall wrote:
```suggestion
// If the class is attached to a C++ named module other than the one
```
https://github.com/llvm/llvm-project/pull/75912
More information about the cfe-commits
mailing list