[clang] [llvm] [Clang][OpenMP] Support for dispatch construct (Sema & Codegen) support (PR #131838)

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 10 08:49:32 PDT 2025


================
@@ -4280,6 +4282,18 @@ getTargetRegionParams(Sema &SemaRef) {
   return Params;
 }
 
+static SmallVector<SemaOpenMP::CapturedParamNameType>
+getDispatchRegionParams(Sema &SemaRef) {
+  ASTContext &Context = SemaRef.getASTContext();
+  SmallVector<SemaOpenMP::CapturedParamNameType> Params;
+
+  //  QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict();
+  //  Params.push_back(std::make_pair(StringRef(), VoidPtrTy));
----------------
alexey-bataev wrote:

Remove it

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


More information about the cfe-commits mailing list