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"
18namespace Fortran::runtime {
26enum class LowerBoundModifier :
int {
35bool RTDECL(IsContiguous)(
const Descriptor &);
39bool RTDECL(IsContiguousUpTo)(
const Descriptor &, int);
42bool RTDECL(IsAssumedSize)(
const Descriptor &);
48void RTDECL(CopyAndUpdateDescriptor)(Descriptor &to,
const Descriptor &from,
49 const typeInfo::DerivedType *newDynamicType,
50 ISO::CFI_attribute_t newAttribute,
enum LowerBoundModifier newLowerBounds);