================ @@ -148,6 +169,110 @@ static void verifyClause(Record *op, Record *clause) { "or explicitly skipping this field."); } +/// Translate the type of an OpenMP clause's argument to its corresponding +/// representation for clause operand structures. +/// +/// All kinds of values are represented as `mlir::Value` fields, whereas +/// attributes are represented based on their `storageType`. +/// +/// \param[in] init The `DefInit` object representing the argument. +/// \param[out] rank Number of levels of array nesting associated with the +/// type. +/// +/// \return the name of the base type to represent elements of the argument +/// type. ---------------- Meinersbur wrote:
[nit] indention ```suggestion /// \return the name of the base type to represent elements of the argument /// type. ``` https://github.com/llvm/llvm-project/pull/99508 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits