Skip to content

Commit 2fdf4e7

Browse files
committed
Merge commit '64bade38fd6a3e5c8c081bae92ce02f58cab799f' into users/meinersbur/flang_runtime_move-files
2 parents 45f1713 + 64bade3 commit 2fdf4e7

File tree

4 files changed

+40
-25
lines changed

4 files changed

+40
-25
lines changed

flang-rt/include/flang-rt/iostat-funcs.h

Lines changed: 0 additions & 24 deletions
This file was deleted.

flang-rt/lib/flang_rt/io-error.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include "flang-rt/iostat-funcs.h"
1919
#include "flang-rt/memory.h"
2020
#include "terminator.h"
21+
#include "flang/Runtime/iostat.h"
2122
#include <cinttypes>
2223

2324
namespace Fortran::runtime::io {

flang-rt/lib/flang_rt/iostat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include "flang-rt/iostat-funcs.h"
9+
#include "flang/Runtime/iostat.h"
1010

1111
namespace Fortran::runtime::io {
1212
RT_OFFLOAD_API_GROUP_BEGIN

flang/include/flang/Runtime/iostat.h

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<<<<<<<< HEAD:flang-rt/include/flang-rt/iostat-funcs.h
2+
//===-- include/flang-rt/iostat-funcs.h -------------------------*- C++ -*-===//
3+
|||||||| c4faf0574a3c:flang/include/flang/Runtime/iostat-funcs.h
4+
//===-- include/flang/Runtime/iostat-funcs.h --------------------*- C++ -*-===//
5+
========
6+
//===-- include/flang/Runtime/iostat.h --------------------------*- C++ -*-===//
7+
>>>>>>>> 64bade38fd6a3e5c8c081bae92ce02f58cab799f:flang/include/flang/Runtime/iostat.h
8+
//
9+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
10+
// See https://llvm.org/LICENSE.txt for license information.
11+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
12+
//
13+
//===----------------------------------------------------------------------===//
14+
15+
// Defines the values returned by the runtime for IOSTAT= specifiers
16+
// on I/O statements.
17+
18+
<<<<<<<< HEAD:flang-rt/include/flang-rt/iostat-funcs.h
19+
#ifndef FLANG_RT_IOSTAT_FUNCS_H_
20+
#define FLANG_RT_IOSTAT_FUNCS_H_
21+
|||||||| c4faf0574a3c:flang/include/flang/Runtime/iostat-funcs.h
22+
#ifndef FORTRAN_RUNTIME_IOSTAT_FUNCS_H_
23+
#define FORTRAN_RUNTIME_IOSTAT_FUNCS_H_
24+
========
25+
#ifndef FORTRAN_RUNTIME_IOSTAT_H_
26+
#define FORTRAN_RUNTIME_IOSTAT_H_
27+
>>>>>>>> 64bade38fd6a3e5c8c081bae92ce02f58cab799f:flang/include/flang/Runtime/iostat.h
28+
29+
#include "flang/Common/api-attrs.h"
30+
#include "flang/Runtime/iostat-consts.h"
31+
32+
namespace Fortran::runtime::io {
33+
34+
RT_API_ATTRS const char *IostatErrorString(int);
35+
36+
} // namespace Fortran::runtime::io
37+
38+
#endif /* FORTRAN_RUNTIME_IOSTAT_H_ */

0 commit comments

Comments
 (0)