This is an archive of the discontinued LLVM Phabricator instance.

[flang] Apply the check for the constraint `C1172` to `unlock-stmt`, `change-team-stmt`, `end-team-stmt`, and `critical-stmt`
ClosedPublic

Authored by ktras on May 16 2023, 6:27 PM.

Details

Summary

Apply the check for the constraint C1172 to unlock-stmt,
change-team-stmt, end-team-stmt, and critical-stmt, which
all have sync-stat-lists and so C1172 applies to them. Add
a test to check the sync-stat-lists for these 4 statements.

Diff Detail

Event Timeline

ktras created this revision.May 16 2023, 6:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 16 2023, 6:27 PM
ktras requested review of this revision.May 16 2023, 6:27 PM
PeteSteinfeld accepted this revision.May 16 2023, 7:26 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.May 16 2023, 7:26 PM