This is an archive of the discontinued LLVM Phabricator instance.

[clang] [OpenMP] Diagnose use of 'target_clones' in OpenMP variant declarations.
ClosedPublic

Authored by tahonermann on Mar 17 2022, 2:33 PM.

Details

Summary

Previously, OpenMP variant declarations for a function declaration that included
the 'cpu_dispatch', 'cpu_specific', or 'target' attributes was diagnosed, but
one with the 'target_clones' attribute was not. Now fixed.

Diff Detail

Event Timeline

tahonermann created this revision.Mar 17 2022, 2:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 17 2022, 2:33 PM
Herald added a project: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Mar 17 2022, 3:30 PM
erichkeane accepted this revision.Mar 18 2022, 6:23 AM

Rebase to acquire fixes from parent commits.