File tree Expand file tree Collapse file tree 8 files changed +16
-13
lines changed Expand file tree Collapse file tree 8 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 16
16
#include " flang/Optimizer/Builder/Runtime/Numeric.h"
17
17
#include " flang/Optimizer/Builder/Runtime/RTBuilder.h"
18
18
#include " flang/Runtime/entry-names.h"
19
- #include " flang/Runtime/iostat.h"
19
+ #include " flang/Runtime/iostat-consts .h"
20
20
#include " mlir/Dialect/Complex/IR/Complex.h"
21
21
#include " mlir/Dialect/LLVMIR/LLVMDialect.h"
22
22
#include " mlir/Dialect/Math/IR/Math.h"
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ struct ArrayConstructorVector {
43
43
private:
44
44
unsigned char useValueLengthParameters_ : 1 ;
45
45
};
46
+
46
47
static_assert (sizeof (Fortran::runtime::ArrayConstructorVector) <=
47
48
MaxArrayConstructorVectorSizeInBytes,
48
49
" ABI requires sizeof(ArrayConstructorVector) to be smaller than "
Original file line number Diff line number Diff line change 13
13
14
14
#include " flang/Common/uint128.h"
15
15
#include " flang/Runtime/entry-names.h"
16
- #include " flang/Runtime/iostat.h"
16
+ #include " flang/Runtime/iostat-consts .h"
17
17
#include " flang/Runtime/magic-numbers.h"
18
18
#include < cinttypes>
19
19
#include < cstddef>
Original file line number Diff line number Diff line change 1
- // ===-- include/flang/Runtime/io-api-funcs .h --------------------*- C++ -*-===//
1
+ // ===-- include/flang/Runtime/io-api.h ------ --------------------*- C++ -*-===//
2
2
//
3
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
// See https://llvm.org/LICENSE.txt for license information.
14
14
#include " flang/Common/uint128.h"
15
15
#include " flang/Runtime/entry-names.h"
16
16
#include " flang/Runtime/io-api-consts.h"
17
- #include " flang/Runtime/iostat.h"
17
+ #include " flang/Runtime/iostat-consts .h"
18
18
#include " flang/Runtime/magic-numbers.h"
19
19
#include < cinttypes>
20
20
#include < cstddef>
@@ -36,5 +36,4 @@ RT_API_ATTRS const char *InquiryKeywordHashDecode(
36
36
char *buffer, std::size_t , InquiryKeywordHash);
37
37
38
38
} // namespace Fortran::runtime::io
39
-
40
- #endif /* FORTRAN_RUNTIME_IO_API_H_ */
39
+ #endif
Original file line number Diff line number Diff line change 1
- // ===-- include/flang/Runtime/iostat.h ------- -------------------*- C++ -*-===//
1
+ // ===-- include/flang/Runtime/iostat-consts .h -------------------*- C++ -*-===//
2
2
//
3
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
// See https://llvm.org/LICENSE.txt for license information.
9
9
// Defines the values returned by the runtime for IOSTAT= specifiers
10
10
// on I/O statements.
11
11
12
- #ifndef FORTRAN_RUNTIME_IOSTAT_H_
13
- #define FORTRAN_RUNTIME_IOSTAT_H_
12
+ #ifndef FORTRAN_RUNTIME_IOSTAT_CONSTS_H_
13
+ #define FORTRAN_RUNTIME_IOSTAT_CONSTS_H_
14
+
14
15
#include " flang/Common/api-attrs.h"
15
16
#include " flang/Runtime/magic-numbers.h"
17
+
16
18
namespace Fortran ::runtime::io {
17
19
18
20
// The value of IOSTAT= is zero when no error, end-of-record,
@@ -90,4 +92,5 @@ enum Iostat {
90
92
};
91
93
92
94
} // namespace Fortran::runtime::io
93
- #endif // FORTRAN_RUNTIME_IOSTAT_H_
95
+
96
+ #endif // FORTRAN_RUNTIME_IOSTAT_CONSTS_H_
Original file line number Diff line number Diff line change 13
13
#define FORTRAN_RUNTIME_IOSTAT_FUNCS_H_
14
14
15
15
#include " flang/Common/api-attrs.h"
16
- #include " flang/Runtime/iostat.h"
16
+ #include " flang/Runtime/iostat-consts .h"
17
17
18
18
namespace Fortran ::runtime::io {
19
19
Original file line number Diff line number Diff line change 56
56
#include " flang/Optimizer/Support/InternalNames.h"
57
57
#include " flang/Optimizer/Transforms/Passes.h"
58
58
#include " flang/Parser/parse-tree.h"
59
- #include " flang/Runtime/iostat.h"
59
+ #include " flang/Runtime/iostat-consts .h"
60
60
#include " flang/Semantics/runtime-type-info.h"
61
61
#include " flang/Semantics/symbol.h"
62
62
#include " flang/Semantics/tools.h"
Original file line number Diff line number Diff line change 41
41
#include " flang/Optimizer/Support/FatalError.h"
42
42
#include " flang/Optimizer/Support/Utils.h"
43
43
#include " flang/Runtime/entry-names.h"
44
- #include " flang/Runtime/iostat.h"
44
+ #include " flang/Runtime/iostat-consts .h"
45
45
#include " mlir/Dialect/Complex/IR/Complex.h"
46
46
#include " mlir/Dialect/LLVMIR/LLVMDialect.h"
47
47
#include " mlir/Dialect/Math/IR/Math.h"
You can’t perform that action at this time.
0 commit comments