Skip to content

Commit 80399d2

Browse files
committed
Streamline header guards
1 parent 3b45668 commit 80399d2

9 files changed

Lines changed: 27 additions & 27 deletions

File tree

mlir/include/mlir/Dialect/QC/IR/QCDialect.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
// Licensed under the MIT License
88

9-
#ifndef QCDIALECT
10-
#define QCDIALECT
9+
#ifndef MLIR_DIALECT_QC_IR_QCDIALECT_TD
10+
#define MLIR_DIALECT_QC_IR_QCDIALECT_TD
1111

1212
include "mlir/IR/DialectBase.td"
1313

@@ -40,4 +40,4 @@ def QCDialect : Dialect {
4040
let useDefaultTypePrinterParser = 1;
4141
}
4242

43-
#endif // QCDIALECT
43+
#endif // MLIR_DIALECT_QC_IR_QCDIALECT_TD

mlir/include/mlir/Dialect/QC/IR/QCInterfaces.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
// Licensed under the MIT License
88

9-
#ifndef QC_INTERFACES
10-
#define QC_INTERFACES
9+
#ifndef MLIR_DIALECT_QC_IR_QCINTERFACES_TD
10+
#define MLIR_DIALECT_QC_IR_QCINTERFACES_TD
1111

1212
include "mlir/IR/OpBase.td"
1313

@@ -89,4 +89,4 @@ def UnitaryOpInterface : OpInterface<"UnitaryOpInterface"> {
8989
];
9090
}
9191

92-
#endif // QC_INTERFACES
92+
#endif // MLIR_DIALECT_QC_IR_QCINTERFACES_TD

mlir/include/mlir/Dialect/QC/IR/QCOps.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
// Licensed under the MIT License
88

9-
#ifndef QC_OPS
10-
#define QC_OPS
9+
#ifndef MLIR_DIALECT_QC_IR_QCOPS_TD
10+
#define MLIR_DIALECT_QC_IR_QCOPS_TD
1111

1212
include "mlir/Dialect/QC/IR/QCDialect.td"
1313
include "mlir/Dialect/QC/IR/QCInterfaces.td"
@@ -964,4 +964,4 @@ def InvOp : QCOp<"inv",
964964
let hasVerifier = 1;
965965
}
966966

967-
#endif // QC_OPS
967+
#endif // MLIR_DIALECT_QC_IR_QCOPS_TD

mlir/include/mlir/Dialect/QC/IR/QCTypes.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
// Licensed under the MIT License
88

9-
#ifndef QCTYPES
10-
#define QCTYPES
9+
#ifndef MLIR_DIALECT_QC_IR_QCTYPES_TD
10+
#define MLIR_DIALECT_QC_IR_QCTYPES_TD
1111

1212
include "mlir/Dialect/QC/IR/QCDialect.td"
1313

@@ -28,4 +28,4 @@ def QubitType : QCType<"Qubit", "qubit"> {
2828
}];
2929
}
3030

31-
#endif // QCTYPES
31+
#endif // MLIR_DIALECT_QC_IR_QCTYPES_TD

mlir/include/mlir/Dialect/QCO/IR/QCODialect.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
// Licensed under the MIT License
88

9-
#ifndef QCODIALECT
10-
#define QCODIALECT
9+
#ifndef MLIR_DIALECT_QCO_IR_QCODIALECT_TD
10+
#define MLIR_DIALECT_QCO_IR_QCODIALECT_TD
1111

1212
include "mlir/IR/DialectBase.td"
1313

@@ -40,4 +40,4 @@ def QCODialect : Dialect {
4040
let useDefaultTypePrinterParser = 1;
4141
}
4242

43-
#endif // QCODIALECT
43+
#endif // MLIR_DIALECT_QCO_IR_QCODIALECT_TD

mlir/include/mlir/Dialect/QCO/IR/QCOInterfaces.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
// Licensed under the MIT License
88

9-
#ifndef QCO_INTERFACES
10-
#define QCO_INTERFACES
9+
#ifndef MLIR_DIALECT_QCO_IR_QCOINTERFACES_TD
10+
#define MLIR_DIALECT_QCO_IR_QCOINTERFACES_TD
1111

1212
include "mlir/IR/OpBase.td"
1313

@@ -240,4 +240,4 @@ def UnitaryOpInterface : OpInterface<"UnitaryOpInterface"> {
240240
}];
241241
}
242242

243-
#endif // QCO_INTERFACES
243+
#endif // MLIR_DIALECT_QCO_IR_QCOINTERFACES_TD

mlir/include/mlir/Dialect/QCO/IR/QCOOps.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
// Licensed under the MIT License
88

9-
#ifndef QCOOPS
10-
#define QCOOPS
9+
#ifndef MLIR_DIALECT_QCO_IR_QCOOPS_TD
10+
#define MLIR_DIALECT_QCO_IR_QCOOPS_TD
1111

1212
include "mlir/Dialect/QCO/IR/QCODialect.td"
1313
include "mlir/Dialect/QCO/IR/QCOInterfaces.td"
@@ -1229,4 +1229,4 @@ def IfOp : QCOOp<"if", traits =
12291229
let hasVerifier = 1;
12301230
}
12311231

1232-
#endif // QCOOPS
1232+
#endif // MLIR_DIALECT_QCO_IR_QCOOPS_TD

mlir/include/mlir/Dialect/QCO/IR/QCOTypes.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
// Licensed under the MIT License
88

9-
#ifndef QCOTYPES
10-
#define QCOTYPES
9+
#ifndef MLIR_DIALECT_QCO_IR_QCOTYPES_TD
10+
#define MLIR_DIALECT_QCO_IR_QCOTYPES_TD
1111

1212
include "mlir/Dialect/QCO/IR/QCODialect.td"
1313

@@ -35,4 +35,4 @@ def QubitType : QCOType<"Qubit", "qubit"> {
3535
}];
3636
}
3737

38-
#endif // QCOTYPES
38+
#endif // MLIR_DIALECT_QCO_IR_QCOTYPES_TD

mlir/include/mlir/Dialect/QCO/Transforms/Passes.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
// Licensed under the MIT License
88

9-
#ifndef QCO_PASSES
10-
#define QCO_PASSES
9+
#ifndef MLIR_DIALECT_QCO_TRANSFORMS_PASSES_TD
10+
#define MLIR_DIALECT_QCO_TRANSFORMS_PASSES_TD
1111

1212
include "mlir/Pass/PassBase.td"
1313

@@ -69,4 +69,4 @@ def MappingPass : Pass<"place-and-route", "mlir::ModuleOp"> {
6969
];
7070
}
7171

72-
#endif // QCO_PASSES
72+
#endif // MLIR_DIALECT_QCO_TRANSFORMS_PASSES_TD

0 commit comments

Comments
 (0)