Referencing a static function defined in an opnemp clause, is
authorZahira Ammarguellat <zahira.ammarguellat@intel.com>
Wed, 2 Jun 2021 14:59:07 +0000 (07:59 -0700)
committerZahira Ammarguellat <zahira.ammarguellat@intel.com>
Fri, 11 Jun 2021 13:56:01 +0000 (06:56 -0700)
commit150f7cedfb2e072804f4a0887d14c97a7fe3f374
treeb0e9a9906b9d53f0848fb64fe5bd9e5e1a58f8e3
parent7b444a66b33ca7ec9cc7b9737205805e9d8106a2
Referencing a static function defined in an opnemp clause, is
generating an erroneous warning.

See here: https://godbolt.org/z/ajKPc36M7
clang/lib/Sema/Sema.cpp
clang/test/OpenMP/declare_variant.cpp [new file with mode: 0644]