Skip to content

Commit b0a1260

Browse files
committed
add coding style comment
1 parent 104cc34 commit b0a1260

File tree

14 files changed

+57
-13
lines changed

14 files changed

+57
-13
lines changed

flang/include/flang/Lower/AbstractConverter.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8+
//
9+
// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
10+
//
11+
//===----------------------------------------------------------------------===//
812

913
#ifndef FORTRAN_LOWER_ABSTRACTCONVERTER_H
1014
#define FORTRAN_LOWER_ABSTRACTCONVERTER_H

flang/include/flang/Lower/Bridge.h

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
///
9-
/// \file
10-
/// Implements lowering. Convert Fortran source to
11-
/// [MLIR](https://github.com/tensorflow/mlir).
12-
///
13-
/// [Coding style](https://llvm.org/docs/CodingStandards.html)
14-
///
8+
//
9+
// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
10+
//
1511
//===----------------------------------------------------------------------===//
1612

1713
#ifndef FORTRAN_LOWER_BRIDGE_H

flang/include/flang/Lower/CallInterface.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
//
77
//===----------------------------------------------------------------------===//
88
//
9+
// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
10+
//
11+
//===----------------------------------------------------------------------===//
12+
//
913
// Utility that defines fir call interface for procedure both on caller and
1014
// and callee side and get the related FuncOp.
1115
// It does not emit any FIR code but for the created mlir::FuncOp, instead it

flang/include/flang/Lower/ComplexExpr.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8+
//
9+
// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
10+
//
11+
//===----------------------------------------------------------------------===//
812

913
#ifndef FORTRAN_LOWER_COMPLEXEXPR_H
1014
#define FORTRAN_LOWER_COMPLEXEXPR_H

flang/include/flang/Lower/ConvertExpr.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8+
//
9+
// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
10+
//
11+
//===----------------------------------------------------------------------===//
812
///
913
/// Implements the conversion from Fortran::evaluate::Expr trees to FIR.
1014
///
11-
/// [Coding style](https://llvm.org/docs/CodingStandards.html)
12-
///
1315
//===----------------------------------------------------------------------===//
1416

1517
#ifndef FORTRAN_LOWER_CONVERT_EXPR_H

flang/include/flang/Lower/ConvertType.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,19 @@
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
7-
//----------------------------------------------------------------------------//
7+
//===----------------------------------------------------------------------===//
8+
//
9+
// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
10+
//
11+
//===----------------------------------------------------------------------===//
812
///
913
/// Conversion of front-end TYPE, KIND, ATTRIBUTE (TKA) information to FIR/MLIR.
1014
/// This is meant to be the single point of truth (SPOT) for all type
1115
/// conversions when lowering to FIR. This implements all lowering of parse
1216
/// tree TKA to the FIR type system. If one is converting front-end types and
1317
/// not using one of the routines provided here, it's being done wrong.
1418
///
15-
/// [Coding style](https://llvm.org/docs/CodingStandards.html)
16-
///
17-
//----------------------------------------------------------------------------//
19+
//===----------------------------------------------------------------------===//
1820

1921
#ifndef FORTRAN_LOWER_CONVERT_TYPE_H
2022
#define FORTRAN_LOWER_CONVERT_TYPE_H

flang/include/flang/Lower/DoLoopHelper.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8+
//
9+
// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
10+
//
11+
//===----------------------------------------------------------------------===//
812

913
#ifndef FORTRAN_LOWER_DOLOOPHELPER_H
1014
#define FORTRAN_LOWER_DOLOOPHELPER_H

flang/include/flang/Lower/IO.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8+
//
9+
// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
10+
//
11+
//===----------------------------------------------------------------------===//
812

913
#ifndef FORTRAN_LOWER_IO_H
1014
#define FORTRAN_LOWER_IO_H

flang/include/flang/Lower/Mangler.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8+
//
9+
// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
10+
//
11+
//===----------------------------------------------------------------------===//
812

913
#ifndef FORTRAN_LOWER_MANGLER_H_
1014
#define FORTRAN_LOWER_MANGLER_H_

flang/include/flang/Lower/PFTBuilder.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
//
77
//===----------------------------------------------------------------------===//
88
//
9+
// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
10+
//
11+
//===----------------------------------------------------------------------===//
12+
//
913
// PFT (Pre-FIR Tree) interface.
1014
//
1115
//===----------------------------------------------------------------------===//

flang/include/flang/Lower/Runtime.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
//
77
//===----------------------------------------------------------------------===//
88
//
9+
// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
10+
//
11+
//===----------------------------------------------------------------------===//
12+
//
913
// Builder routines for constructing the FIR dialect of MLIR. As FIR is a
1014
// dialect of MLIR, it makes extensive use of MLIR interfaces and MLIR's coding
1115
// style (https://mlir.llvm.org/getting_started/DeveloperGuide/) is used in this

flang/include/flang/Lower/Support/BoxValue.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8+
//
9+
// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
10+
//
11+
//===----------------------------------------------------------------------===//
812

913
#ifndef LOWER_SUPPORT_BOXVALUE_H
1014
#define LOWER_SUPPORT_BOXVALUE_H

flang/include/flang/Lower/Support/Verifier.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8+
//
9+
// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
10+
//
11+
//===----------------------------------------------------------------------===//
812

913
#ifndef LOWER_SUPPORT_VERIFIER_H
1014
#define LOWER_SUPPORT_VERIFIER_H

flang/include/flang/Lower/Utils.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8+
//
9+
// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
10+
//
11+
//===----------------------------------------------------------------------===//
812

913
#ifndef FORTRAN_LOWER_UTILS_H
1014
#define FORTRAN_LOWER_UTILS_H

0 commit comments

Comments
 (0)