forked from OSchip/llvm-project
[flang] Semantics checker for STOP and ERROR STOP statements - remove tools function not needed after recent commit
Signed-off-by: Paul Osmialowski <pawel.osmialowski@arm.com> Original-commit: flang-compiler/f18@1a3dbd9752 Reviewed-on: https://github.com/flang-compiler/f18/pull/367 Tree-same-pre-rewrite: false
This commit is contained in:
parent
9cb7ec52e2
commit
9579f55836
|
@ -293,8 +293,4 @@ bool ExprTypeKindIsDefault(
|
|||
dynamicType->kind ==
|
||||
context.defaultKinds().GetDefaultKind(dynamicType->category);
|
||||
}
|
||||
|
||||
bool ExprIsScalar(const evaluate::GenericExprWrapper &expr) {
|
||||
return !(expr.v.Rank() > 0);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -101,6 +101,5 @@ bool ExprHasTypeCategory(
|
|||
bool ExprHasTypeKind(const evaluate::GenericExprWrapper &expr, int kind);
|
||||
bool ExprTypeKindIsDefault(
|
||||
const evaluate::GenericExprWrapper &expr, const SemanticsContext &context);
|
||||
bool ExprIsScalar(const evaluate::GenericExprWrapper &expr);
|
||||
}
|
||||
#endif // FORTRAN_SEMANTICS_TOOLS_H_
|
||||
|
|
Loading…
Reference in New Issue