This is an archive of the discontinued LLVM Phabricator instance.

[Clang][OpenMP] Refactor checking for mutually exclusive clauses. NFC.
ClosedPublic

Authored by Meinersbur on Jun 3 2021, 9:26 PM.

Details

Summary

Multiple clauses are mutually exclusive. This patch refactors the functions that check for pairs of mutually exclusive clauses into a generalized function which also also accepts a list of clause types if which at most one can appear.

NFC patch extracted out of D99459 by request.

Diff Detail

Event Timeline

Meinersbur created this revision.Jun 3 2021, 9:26 PM
Meinersbur requested review of this revision.Jun 3 2021, 9:26 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: sstefan1. · View Herald Transcript
This revision is now accepted and ready to land.Jun 4 2021, 4:58 AM
This revision was landed with ongoing or failed builds.Jun 6 2021, 7:49 AM
This revision was automatically updated to reflect the committed changes.