let summary = "Class type";
let description = [{
- Class type is used to model the Fortran CLASS instrinsic type. A class type
+ Class type is used to model the Fortran CLASS intrinsic type. A class type
is equivalent to a fir.box type with a dynamic type.
}];
let parameters = (ins "unsigned":$rank);
let hasCustomAssemblyFormat = 1;
-
- let extraClassDeclaration = [{
- using KindTy = unsigned;
-
- // a !fir.boxchar<k> always wraps a !fir.char<k, ?>
- CharacterType getElementType(mlir::MLIRContext *context) const;
-
- CharacterType getEleTy() const;
- }];
}
def fir_SequenceType : FIR_Type<"Sequence", "array"> {
let description = [{
Replacement for the builtin vector type.
- The FIR vector type is always rank one. It's size is always a constant.
+ The FIR vector type is always rank one. Its size is always a constant.
A vector's element type must be real or integer.
}];