bolt/deps/llvm-18.1.8/flang/runtime/support.cpp
2025-02-14 19:21:04 +01:00

22 lines
675 B
C++

//===-- runtime/support.cpp -----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include "flang/Runtime/support.h"
#include "flang/Runtime/descriptor.h"
namespace Fortran::runtime {
extern "C" {
RT_EXT_API_GROUP_BEGIN
bool RTDEF(IsContiguous)(const Descriptor &descriptor) {
return descriptor.IsContiguous();
}
RT_EXT_API_GROUP_END
} // extern "C"
} // namespace Fortran::runtime