[clang] [clang][OpenMP] Add OMP 6.0 prefer_type({fr,attr}) parsing for interop (PR #198868)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 6 06:33:58 PDT 2026
================
@@ -18967,9 +18967,14 @@ OMPClause *SemaOpenMP::ActOnOpenMPInitClause(
if (!isValidInteropVariable(SemaRef, InteropVar, VarLoc, OMPC_init))
return nullptr;
- // Check prefer_type values. These foreign-runtime-id values are either
- // string literals or constant integral expressions.
- for (const Expr *E : InteropInfo.PreferTypes) {
+ // Check prefer_type values. fr() arguments are either string literals or
----------------
alexey-bataev wrote:
Need to check attr here for validity?
https://github.com/llvm/llvm-project/pull/198868
More information about the cfe-commits
mailing list