================
@@ -4280,6 +4282,15 @@ getTargetRegionParams(Sema &SemaRef) {
return Params;
}
+static SmallVector<SemaOpenMP::CapturedParamNameType>
+getDispatchRegionParams(Sema &SemaRef) {
+ ASTContext &Context = SemaRef.getASTContext();
+ SmallVector<SemaOpenMP::CapturedParamNameType> Params;
+
+ Params.push_back(std::make_pair(StringRef(), QualType()));
----------------
alexey-bataev wrote:
```suggestion
Params.emplace_back(StringRef(), QualType());
```
https://github.com/llvm/llvm-project/pull/131838
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits