Skip to content

Commit 68ed628

Browse files
committed
FLANGRT -> FLANG_RT
1 parent e3072f9 commit 68ed628

25 files changed

+75
-75
lines changed

flang-rt/include/flang-rt/CUDA/allocator.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#ifndef FLANGRT_CUDA_ALLOCATOR_H_
10-
#define FLANGRT_CUDA_ALLOCATOR_H_
9+
#ifndef FLANG_RT_CUDA_ALLOCATOR_H_
10+
#define FLANG_RT_CUDA_ALLOCATOR_H_
1111

1212
#include "flang/Runtime/descriptor-consts.h"
1313
#include "flang/Runtime/entry-names.h"
@@ -43,4 +43,4 @@ void *CUFAllocUnified(std::size_t);
4343
void CUFFreeUnified(void *);
4444

4545
} // namespace Fortran::runtime::cuda
46-
#endif /* FLANGRT_CUDA_ALLOCATOR_H_ */
46+
#endif /* FLANG_RT_CUDA_ALLOCATOR_H_ */

flang-rt/include/flang-rt/allocator-registry.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#ifndef FLANGRT_ALLOCATOR_REGISTRY_H_
10-
#define FLANGRT_ALLOCATOR_REGISTRY_H_
9+
#ifndef FLANG_RT_ALLOCATOR_REGISTRY_H_
10+
#define FLANG_RT_ALLOCATOR_REGISTRY_H_
1111

1212
#include "flang/Common/api-attrs.h"
1313
#include "flang/Runtime/allocator-registry-consts.h"
@@ -55,4 +55,4 @@ RT_OFFLOAD_VAR_GROUP_END
5555

5656
} // namespace Fortran::runtime
5757

58-
#endif /* FLANGRT_ALLOCATOR_REGISTRY_H_ */
58+
#endif /* FLANG_RT_ALLOCATOR_REGISTRY_H_ */

flang-rt/include/flang-rt/array-constructor.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
// External APIs to create temporary storage for array constructors when their
1010
// final extents or length parameters cannot be pre-computed.
1111

12-
#ifndef FLANGRT_ARRAY_CONSTRUCTOR_H_
13-
#define FLANGRT_ARRAY_CONSTRUCTOR_H_
12+
#ifndef FLANG_RT_ARRAY_CONSTRUCTOR_H_
13+
#define FLANG_RT_ARRAY_CONSTRUCTOR_H_
1414

1515
#include "flang-rt/descriptor.h"
1616
#include "flang/Runtime/array-constructor-consts.h"
@@ -45,4 +45,4 @@ struct ArrayConstructorVector {
4545
};
4646

4747
} // namespace Fortran::runtime
48-
#endif /* FLANGRT_ARRAY_CONSTRUCTOR_H_ */
48+
#endif /* FLANG_RT_ARRAY_CONSTRUCTOR_H_ */

flang-rt/include/flang-rt/descriptor.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#ifndef FLANGRT_DESCRIPTOR_H_
10-
#define FLANGRT_DESCRIPTOR_H_
9+
#ifndef FLANG_RT_DESCRIPTOR_H_
10+
#define FLANG_RT_DESCRIPTOR_H_
1111

1212
// Defines data structures used during execution of a Fortran program
1313
// to implement nontrivial dummy arguments, pointers, allocatables,
@@ -482,4 +482,4 @@ class alignas(Descriptor) StaticDescriptor {
482482
};
483483

484484
} // namespace Fortran::runtime
485-
#endif /* FLANGRT_DESCRIPTOR_H_ */
485+
#endif /* FLANG_RT_DESCRIPTOR_H_ */

flang-rt/include/flang-rt/io-api-funcs.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
// Defines API between compiled code and I/O runtime library.
1010

11-
#ifndef FLANGRT_IO_API_FUNCS_H_
12-
#define FLANGRT_IO_API_FUNCS_H_
11+
#ifndef FLANG_RT_IO_API_FUNCS_H_
12+
#define FLANG_RT_IO_API_FUNCS_H_
1313

1414
#include "flang/Common/uint128.h"
1515
#include "flang/Runtime/entry-names.h"
@@ -36,4 +36,4 @@ RT_API_ATTRS const char *InquiryKeywordHashDecode(
3636
char *buffer, std::size_t, InquiryKeywordHash);
3737

3838
} // namespace Fortran::runtime::io
39-
#endif /* FLANGRT_IO_API_FUNCS_H_ */
39+
#endif /* FLANG_RT_IO_API_FUNCS_H_ */

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
// Defines the values returned by the runtime for IOSTAT= specifiers
1010
// on I/O statements.
1111

12-
#ifndef FLANGRT_IOSTAT_FUNCS_H_
13-
#define FLANGRT_IOSTAT_FUNCS_H_
12+
#ifndef FLANG_RT_IOSTAT_FUNCS_H_
13+
#define FLANG_RT_IOSTAT_FUNCS_H_
1414

1515
#include "flang/Common/api-attrs.h"
1616
#include "flang/Runtime/iostat.h"
@@ -20,4 +20,4 @@ namespace Fortran::runtime::io {
2020
RT_API_ATTRS const char *IostatErrorString(int);
2121

2222
} // namespace Fortran::runtime::io
23-
#endif /* FLANGRT_IOSTAT_FUNCS_H_ */
23+
#endif /* FLANG_RT_IOSTAT_FUNCS_H_ */

flang-rt/include/flang-rt/memory.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
// Thin wrapper around malloc()/free() to isolate the dependency,
1010
// ease porting, and provide an owning pointer.
1111

12-
#ifndef FLANGRT_MEMORY_H_
13-
#define FLANGRT_MEMORY_H_
12+
#ifndef FLANG_RT_MEMORY_H_
13+
#define FLANG_RT_MEMORY_H_
1414

1515
#include "flang/Common/api-attrs.h"
1616
#include <cassert>
@@ -170,4 +170,4 @@ template <typename A> struct Allocator {
170170
};
171171
} // namespace Fortran::runtime
172172

173-
#endif /* FLANGRT_MEMORY_H_ */
173+
#endif /* FLANG_RT_MEMORY_H_ */

flang-rt/include/flang-rt/type-code.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#ifndef FLANGRT_TYPE_CODE_H_
10-
#define FLANGRT_TYPE_CODE_H_
9+
#ifndef FLANG_RT_TYPE_CODE_H_
10+
#define FLANG_RT_TYPE_CODE_H_
1111

1212
#include "flang/Common/Fortran-consts.h"
1313
#include "flang/Common/ISO_Fortran_binding_wrapper.h"
@@ -75,4 +75,4 @@ class TypeCode {
7575
ISO::CFI_type_t raw_{CFI_type_other};
7676
};
7777
} // namespace Fortran::runtime
78-
#endif /* FLANGRT_TYPE_CODE_H_ */
78+
#endif /* FLANG_RT_TYPE_CODE_H_ */

flang-rt/lib/flang_rt/ISO_Fortran_util.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#ifndef FLANGRT_ISO_FORTRAN_UTIL_H_
10-
#define FLANGRT_ISO_FORTRAN_UTIL_H_
9+
#ifndef FLANG_RT_ISO_FORTRAN_UTIL_H_
10+
#define FLANG_RT_ISO_FORTRAN_UTIL_H_
1111

1212
// Internal utils for establishing CFI_cdesc_t descriptors.
1313

@@ -99,4 +99,4 @@ static inline RT_API_ATTRS void EstablishDescriptor(CFI_cdesc_t *descriptor,
9999
}
100100
}
101101
} // namespace Fortran::ISO
102-
#endif /* FLANGRT_ISO_FORTRAN_UTIL_H_ */
102+
#endif /* FLANG_RT_ISO_FORTRAN_UTIL_H_ */

flang-rt/lib/flang_rt/buffer.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
// External file buffering
1010

11-
#ifndef FLANGRT_BUFFER_H_
12-
#define FLANGRT_BUFFER_H_
11+
#ifndef FLANG_RT_BUFFER_H_
12+
#define FLANG_RT_BUFFER_H_
1313

1414
#include "flang-rt/memory.h"
1515
#include "io-error.h"
@@ -221,4 +221,4 @@ template <typename STORE, std::size_t minBuffer = 65536> class FileFrame {
221221
bool dirty_{false};
222222
};
223223
} // namespace Fortran::runtime::io
224-
#endif /* FLANGRT_BUFFER_H_ */
224+
#endif /* FLANG_RT_BUFFER_H_ */

0 commit comments

Comments
 (0)