10#ifndef FORTRAN_RUNTIME_SUPPORT_H_
11#define FORTRAN_RUNTIME_SUPPORT_H_
13#include "flang/Common/ISO_Fortran_binding_wrapper.h"
14#include "flang/Runtime/entry-names.h"
17namespace Fortran::runtime {
25enum class LowerBoundModifier :
int {
34bool RTDECL(IsContiguous)(
const Descriptor &);
38bool RTDECL(IsContiguousUpTo)(
const Descriptor &, int);
41bool RTDECL(IsAssumedSize)(
const Descriptor &);
47void RTDECL(CopyAndUpdateDescriptor)(Descriptor &to,
const Descriptor &from,
48 const typeInfo::DerivedType *newDynamicType,
49 ISO::CFI_attribute_t newAttribute,
enum LowerBoundModifier newLowerBounds);