This is an archive of the discontinued LLVM Phabricator instance.

Change error for storage-class to mean linkage, fix lang-linkage diag
ClosedPublic

Authored by erichkeane on Sep 22 2021, 7:30 AM.

Details

Summary

Allow multiversioning declarations to match when the actual formal
linkage matches, not just when the storage class is identical.
Additionally, change the ambiguous 'linkage' mismatch to be more
specific and say 'language linkage'.

Diff Detail

Event Timeline

erichkeane requested review of this revision.Sep 22 2021, 7:30 AM
erichkeane created this revision.
This revision is now accepted and ready to land.Sep 22 2021, 10:49 AM