[clang] [llvm] [OpenMP]Initial parsing/sema support for target_device selector set (PR #118471)

via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 3 06:29:19 PST 2025


================
@@ -2805,7 +2818,7 @@ StmtResult Parser::ParseOpenMPDeclarativeOrExecutableDirective(
         };
     TargetOMPContext OMPCtx(ASTContext, std::move(DiagUnknownTrait),
                             /* CurrentFunctionDecl */ nullptr,
-                            ArrayRef<llvm::omp::TraitProperty>());
+                            ArrayRef<llvm::omp::TraitProperty>(), -1);
----------------
Ritanya-B-Bharadwaj wrote:

Noted!

https://github.com/llvm/llvm-project/pull/118471


More information about the cfe-commits mailing list