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

via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 7 04:08:27 PDT 2024


https://github.com/zmodem commented:

Thanks! This basically looks good to me.

It would be nice to keep `GetOrCreateLLVMGlobal` and `GetOrCreateLLVMFunction` in sync. Would it be possible to extract the "Handle dropped DLL attributes" logic into a small utility function that could be called from both?

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


More information about the cfe-commits mailing list