Skip to content

Commit aac2ab0

Browse files
committed
Update guards
1 parent e355aaf commit aac2ab0

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

flang-rt/lib/FortranFloat128Math/nearbyint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- runtime/Float128Math/nearbyint.cpp --------------------------------===//
1+
//===-- lib/FortranFloat128Math/nearbyint.cpp -------------------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

flang/include/flang/Support/LangOptions.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===------ LangOptions.h ---------------------------------------*- C++ -*-===//
1+
//===-- include/flang/Support/LangOptions.h ---------------------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -12,8 +12,8 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414

15-
#ifndef FORTRAN_COMMON_LANGOPTIONS_H
16-
#define FORTRAN_COMMON_LANGOPTIONS_H
15+
#ifndef FORTRAN_SUPPORT_LANGOPTIONS_H_
16+
#define FORTRAN_SUPPORT_LANGOPTIONS_H_
1717

1818
#include <string>
1919
#include <vector>
@@ -69,4 +69,4 @@ class LangOptions : public LangOptionsBase {
6969

7070
} // end namespace Fortran::common
7171

72-
#endif // FORTRAN_COMMON_LANGOPTIONS_H
72+
#endif /* FORTRAN_SUPPORT_LANGOPTIONS_H_ */

flang/include/flang/Support/OpenMP-features.h

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

9-
#ifndef FORTRAN_COMMON_OPENMP_FEATURES_H_
10-
#define FORTRAN_COMMON_OPENMP_FEATURES_H_
9+
#ifndef FORTRAN_SUPPORT_OPENMP_FEATURES_H_
10+
#define FORTRAN_SUPPORT_OPENMP_FEATURES_H_
1111

1212
namespace Fortran::common {
1313

@@ -49,4 +49,4 @@ void setOpenMPMacro(int version, FortranPredefinitions &predefinitions) {
4949
}
5050
}
5151
} // namespace Fortran::common
52-
#endif // FORTRAN_COMMON_OPENMP_FEATURES_H_
52+
#endif /* FORTRAN_SUPPORT_OPENMP_FEATURES_H_ */

flang/include/flang/Support/reference-counted.h

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

9-
#ifndef FORTRAN_COMMON_REFERENCE_COUNTED_H_
10-
#define FORTRAN_COMMON_REFERENCE_COUNTED_H_
9+
#ifndef FORTRAN_SUPPORT_REFERENCE_COUNTED_H_
10+
#define FORTRAN_SUPPORT_REFERENCE_COUNTED_H_
1111

1212
// A class template of smart pointers to objects with their own
1313
// reference counting object lifetimes that's lighter weight
@@ -74,4 +74,4 @@ template <typename A> class CountedReference {
7474
type *p_{nullptr};
7575
};
7676
} // namespace Fortran::common
77-
#endif // FORTRAN_COMMON_REFERENCE_COUNTED_H_
77+
#endif /* FORTRAN_SUPPORT_REFERENCE_COUNTED_H_ */

flang/include/flang/Support/reference.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// Use Reference<A> in place of a real A& reference when assignability is
1212
// required; safer than a bare pointer because it's guaranteed to not be null.
1313

14-
#ifndef FORTRAN_COMMON_REFERENCE_H_
15-
#define FORTRAN_COMMON_REFERENCE_H_
14+
#ifndef FORTRAN_SUPPORT_REFERENCE_H_
15+
#define FORTRAN_SUPPORT_REFERENCE_H_
1616
#include <type_traits>
1717
namespace Fortran::common {
1818
template <typename A> class Reference {
@@ -60,4 +60,4 @@ template <typename A> class Reference {
6060
};
6161
template <typename A> Reference(A &) -> Reference<A>;
6262
} // namespace Fortran::common
63-
#endif
63+
#endif /* FORTRAN_SUPPORT_REFERENCE_H_ */

flang/include/flang/Support/static-multimap-view.h

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

9-
#ifndef FORTRAN_COMMON_STATIC_MULTIMAP_VIEW_H_
10-
#define FORTRAN_COMMON_STATIC_MULTIMAP_VIEW_H_
9+
#ifndef FORTRAN_SUPPORT_STATIC_MULTIMAP_VIEW_H_
10+
#define FORTRAN_SUPPORT_STATIC_MULTIMAP_VIEW_H_
1111
#include <algorithm>
1212
#include <utility>
1313

@@ -59,4 +59,4 @@ template <typename V> class StaticMultimapView {
5959
const_iterator end_{nullptr};
6060
};
6161
} // namespace Fortran::common
62-
#endif // FORTRAN_COMMON_STATIC_MULTIMAP_VIEW_H_
62+
#endif /* FORTRAN_SUPPORT_STATIC_MULTIMAP_VIEW_H_ */

flang/lib/Support/LangOptions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===------ LangOptions.cpp -----------------------------------------------===//
1+
//===-- lib/Support/LangOptions.cpp -----------------------------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

0 commit comments

Comments
 (0)