[clang] [OpenMP] Extend OpenMP variant declaration tests.
authorTom Honermann <tom.honermann@intel.com>
Tue, 15 Mar 2022 21:36:26 +0000 (14:36 -0700)
committerTom Honermann <tom@honermann.net>
Mon, 21 Mar 2022 17:39:44 +0000 (13:39 -0400)
commit8ff8c3ac0dd675319d779a1aa0087e8a0d5a81b2
treeda4e9a9fb18ccbcb56d7e767331ccdbc968f8bee
parent0cceee755992820362d5df5698da8bce762b9fe3
[clang] [OpenMP] Extend OpenMP variant declaration tests.

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.

Reviewed By: erichkeane, jdoerfert

Differential Revision: https://reviews.llvm.org/D121962
clang/test/OpenMP/declare_variant_messages.c