This is an archive of the discontinued LLVM Phabricator instance.

[clang] [OpenMP] Extend OpenMP variant declaration tests.
ClosedPublic

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

Details

Summary

This change extends the existing diagnostic tests for OpenMP variant
declarations to cover diagnostics for declarations that include
multiversion function attributes. The new tests demonstrate a missing
check for the 'target_clones' attribute.

Diff Detail

Event Timeline

tahonermann created this revision.Mar 17 2022, 2:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 17 2022, 2:32 PM
tahonermann published this revision for review.Mar 17 2022, 2:54 PM
tahonermann added inline comments.
clang/test/OpenMP/declare_variant_messages.c
165

This FIXME comment is removed with the changes made in D121963.

Herald added a project: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Mar 17 2022, 3:29 PM
erichkeane accepted this revision.Mar 18 2022, 6:25 AM

Rebase to acquire fixes from parent commits.