[clang] Reland [C++20] [Modules] [Itanium ABI] Generate the vtable in the mod… (PR #102287)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 7 11:12:37 PDT 2024


================
@@ -12432,7 +12432,7 @@ bool ASTContext::DeclMustBeEmitted(const Decl *D) {
     return false;
 
   // Variables in other module units shouldn't be forced to be emitted.
-  if (VD->isInAnotherModuleUnit())
+  if (VD->shouldEmitInExternalSource())
----------------
mizvekov wrote:

It seems the comment needs updating.

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


More information about the cfe-commits mailing list