Warning: This file is not a C or C++ file. It does not have highlighting.
1 | //===-- include/flang/Runtime/support.h -------------------------*- C++ -*-===// |
---|---|
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | // Defines APIs for runtime support code for lowering. |
10 | #ifndef FORTRAN_RUNTIME_SUPPORT_H_ |
11 | #define FORTRAN_RUNTIME_SUPPORT_H_ |
12 | |
13 | #include "flang/Runtime/entry-names.h" |
14 | #include <cstddef> |
15 | #include <cstdint> |
16 | |
17 | namespace Fortran::runtime { |
18 | |
19 | class Descriptor; |
20 | |
21 | extern "C" { |
22 | |
23 | // Predicate: is the storage described by a Descriptor contiguous in memory? |
24 | bool RTDECL(IsContiguous)(const Descriptor &); |
25 | |
26 | } // extern "C" |
27 | } // namespace Fortran::runtime |
28 | #endif // FORTRAN_RUNTIME_SUPPORT_H_ |
29 |
Warning: This file is not a C or C++ file. It does not have highlighting.