[PATCH] D155713: [clang] Fix interaction between dllimport and exclude_from_explicit_instantiation
Louis Dionne via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 19 08:07:39 PDT 2023
ldionne created this revision.
Herald added a project: All.
ldionne requested review of this revision.
Herald added subscribers: cfe-commits, bd1976llvm.
Herald added a project: clang.
When an entity is marked with both dllimport and exclude_from_explicit_instantiation,
the compiler should not assume that the entity will be provided in another TU.
Fixes https://github.com/llvm/llvm-project/issues/40363
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D155713
Files:
clang/lib/AST/ASTContext.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/Sema/Sema.cpp
clang/test/CodeGenCXX/attr-exclude_from_explicit_instantiation.dllimport.cpp
clang/test/SemaCXX/attr-exclude_from_explicit_instantiation.dllimport.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155713.542034.patch
Type: text/x-patch
Size: 4633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230719/e8e9070b/attachment-0001.bin>
More information about the cfe-commits
mailing list