[clang] [clang] Fix loss of `dllexport` for exported template specialization (PR #94664)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 10 05:30:10 PDT 2024


================
@@ -4509,6 +4509,19 @@ llvm::Constant *CodeGenModule::GetOrCreateMultiVersionResolver(GlobalDecl GD) {
   return Resolver;
 }
 
+bool CodeGenModule::shouldDropDLLAttribute(const Decl *D,
----------------
zmodem wrote:

Never mind, shouldMapVisibilityToDLLExport() is a member, so this makes sense.

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


More information about the cfe-commits mailing list