================
@@ -17424,6 +17396,77 @@ OMPClause
*SemaOpenMP::ActOnOpenMPThreadsetClause(OpenMPThreadsetKind Kind,
OMPThreadsetClause(Kind, KindLoc, StartLoc, LParenLoc, EndLoc);
}
+/// Tries to find omp_impex_t type.
+static bool findOMPImpexT(Sema &S, SourceLocation Loc, DSAStackTy *Stack) {
----------------
abhinavgaba wrote:
A similar util for the `allocator` argument for `uses_allocator` clause is
called `getAllocatorKind`:
https://github.com/llvm/llvm-project/blob/04c81a99735c04b2018eeb687e74f9860e1d0e1b/clang/lib/Sema/SemaOpenMP.cpp#L25140
Would it make sense to align with that convention, and return the kind from
this instead of a bool?
https://github.com/llvm/llvm-project/pull/166810
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits