[clang] Warn when unique objects might be duplicated in shared libraries (PR #117622)

Devon Loehr via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 30 09:13:49 PST 2025


DKLoehr wrote:

Addressed feedback, responded where appropriate. I've also done some digging into how the warning should work on Windows: it seems like it'll be very straightforward (just replace "has hidden visibility" with "doesn't have a dll import/export attribute"), but I'll leave that for a future PR to keep each the PRs focused.

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


More information about the cfe-commits mailing list