This is an archive of the discontinued LLVM Phabricator instance.

[flang] Catch repeated BIND(C) attribute specifications for a symbol
ClosedPublic

Authored by klausler on Feb 11 2023, 5:14 PM.

Details

Summary

A BIND(C) attribute statement or type-declaration-stmt attribute, just
like most attributes, can only appear once. Name resolution was excluding
the BIND(C) attribute from its check for duplicated attributes, but I
don't see a reason that remains to do so.

Diff Detail

Event Timeline

klausler created this revision.Feb 11 2023, 5:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 11 2023, 5:14 PM
klausler requested review of this revision.Feb 11 2023, 5:14 PM
vdonaldson accepted this revision.Feb 12 2023, 9:08 PM
This revision is now accepted and ready to land.Feb 12 2023, 9:08 PM