================
@@ -17424,6 +17431,47 @@ OMPClause
*SemaOpenMP::ActOnOpenMPThreadsetClause(OpenMPThreadsetKind Kind,
OMPThreadsetClause(Kind, KindLoc, StartLoc, LParenLoc, EndLoc);
}
+/// Retrieves the `omp_impex_t` type from the current scope and adds the
`const`
+/// qualifier.
+///
+/// @param S The Sema object used for symbol resolution.
+/// @param Loc The source location for diagnostic messages.
+/// @returns A `QualType` representing the `omp_impex_t` type with the `const`
+/// qualifier, or an invalid `QualType` if the type cannot be found.
+static QualType getOMPImpexT(Sema &S, SourceLocation Loc) {
----------------
alexey-bataev wrote:
It is meaningless, the result of this analysis is unused in codegen. You just
check the presence of the clause, the argument is unused completely. Why do we
need this analysis? Are you sure the codegen is correct?
https://github.com/llvm/llvm-project/pull/166810
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits