Index: flang/include/flang/Optimizer/Dialect/FIRTypes.td =================================================================== --- flang/include/flang/Optimizer/Dialect/FIRTypes.td +++ flang/include/flang/Optimizer/Dialect/FIRTypes.td @@ -142,7 +142,7 @@ 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. }]; @@ -426,15 +426,6 @@ let parameters = (ins "unsigned":$rank); let hasCustomAssemblyFormat = 1; - - let extraClassDeclaration = [{ - using KindTy = unsigned; - - // a !fir.boxchar always wraps a !fir.char - CharacterType getElementType(mlir::MLIRContext *context) const; - - CharacterType getEleTy() const; - }]; } def fir_SequenceType : FIR_Type<"Sequence", "array"> { @@ -536,7 +527,7 @@ 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. }];