Skip to content

Commit 6a7bd03

Browse files
committed
Use C++style comments for header guards
1 parent f3e9c15 commit 6a7bd03

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

flang/include/flang/Runtime/random.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ void RTNAME(RandomSeed)(const Descriptor *size, const Descriptor *put,
3939
} // extern "C"
4040
} // namespace Fortran::runtime
4141

42-
#endif /* FORTRAN_RUNTIME_RANDOM_H_ */
42+
#endif // FORTRAN_RUNTIME_RANDOM_H_

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,4 @@ class LanguageFeatureControl {
125125
bool warnAllUsage_{false};
126126
};
127127
} // namespace Fortran::common
128-
#endif /* FORTRAN_SUPPORT_FORTRAN_FEATURES_H_ */
128+
#endif // FORTRAN_SUPPORT_FORTRAN_FEATURES_H_

flang/include/flang/Support/Fortran.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ inline std::string GetExternalAssemblyName(
109109
}
110110

111111
} // namespace Fortran::common
112-
#endif /* FORTRAN_SUPPORT_FORTRAN_H_ */
112+
#endif // FORTRAN_SUPPORT_FORTRAN_H_

flang/include/flang/Support/LangOptions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ class LangOptions : public LangOptionsBase {
7777

7878
} // end namespace Fortran::common
7979

80-
#endif /* FORTRAN_SUPPORT_LANGOPTIONS_H_ */
80+
#endif // FORTRAN_SUPPORT_LANGOPTIONS_H_

flang/include/flang/Support/MathOptionsBase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ class MathOptionsBase {
4141

4242
} // namespace Fortran::common
4343

44-
#endif /* FORTRAN_SUPPORT_MATHOPTIONSBASE_H_ */
44+
#endif // FORTRAN_SUPPORT_MATHOPTIONSBASE_H_

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ mlir::Block *genEntryBlock(
7373
mlir::OpBuilder &builder, const EntryBlockArgs &args, mlir::Region &region);
7474
} // namespace Fortran::common::openmp
7575

76-
#endif /* FORTRAN_SUPPORT_OPENMP_UTILS_H_ */
76+
#endif // FORTRAN_SUPPORT_OPENMP_UTILS_H_

flang/include/flang/Support/Timing.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- include/flang/Support/Timing.h --------------------------*- C++ -*-===//
1+
//===- Timing.h - Execution time measurement facilities ---------*- 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.
@@ -10,8 +10,8 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#ifndef FORTRAN_SUPPORT_TIMING_H_
14-
#define FORTRAN_SUPPORT_TIMING_H_
13+
#ifndef FORTRAN_SUPPORT_TIMING_H
14+
#define FORTRAN_SUPPORT_TIMING_H
1515

1616
#include "mlir/Support/Timing.h"
1717

@@ -24,4 +24,4 @@ std::unique_ptr<mlir::OutputStrategy> createTimingFormatterText(
2424

2525
} // namespace Fortran::support
2626

27-
#endif /* FORTRAN_SUPPORT_TIMING_H_ */
27+
#endif // FORTRAN_SUPPORT_TIMING_H

flang/include/flang/Support/Version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ std::string getFlangFullVersion();
5353
std::string getFlangToolFullVersion(llvm::StringRef ToolName);
5454
} // namespace Fortran::common
5555

56-
#endif /* FORTRAN_SUPPORT_VERSION_H_ */
56+
#endif // FORTRAN_SUPPORT_VERSION_H_

flang/include/flang/Support/default-kinds.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ class IntrinsicTypeDefaultKinds {
5858
int defaultLogicalKind_{defaultIntegerKind_};
5959
};
6060
} // namespace Fortran::common
61-
#endif /* FORTRAN_SUPPORT_DEFAULT_KINDS_H_ */
61+
#endif // FORTRAN_SUPPORT_DEFAULT_KINDS_H_

flang/lib/Support/Timing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- lib/Support/Timing.cpp ----------------------------------*- C++ -*-===//
1+
//===- Timing.cpp - Execution time measurement facilities -----------------===//
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)