Page MenuHomePhabricator

[OpenMP] Add variant extension that applies to declarations

Authored by jhuber6 on Apr 28 2022, 10:18 AM.



This patch adds a new extension to the omp begin / end declare variant
support that causes it to apply to function declarations as well. This
is explicitly not done in the standard, but can be useful in some
situations so we should provide it as an extension. This will allow us
to uniquely bind and overload existing definitions with a simple
declaration using variants.

Diff Detail

Event Timeline

jhuber6 created this revision.Apr 28 2022, 10:18 AM
Herald added a project: Restricted Project. · View Herald Transcript
jhuber6 requested review of this revision.Apr 28 2022, 10:18 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 28 2022, 10:18 AM
jdoerfert accepted this revision.Tue, Jun 28, 2:20 PM

LG. one nit.

This revision is now accepted and ready to land.Tue, Jun 28, 2:20 PM
This revision was landed with ongoing or failed builds.Wed, Jun 29, 12:04 PM
This revision was automatically updated to reflect the committed changes.