Skip to content

Commit 6a586ad

Browse files
committed
Fix remaining linter errors
1 parent 3b8a228 commit 6a586ad

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

mlir/unittests/programs/qasm_programs.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212

1313
#include <string>
1414

15+
// NOLINTBEGIN(readability-identifier-naming)
1516
namespace mlir::qasm {
1617

17-
// NOLINTBEGIN(readability-identifier-naming)
1818
const std::string allocQubit = R"qasm(OPENQASM 3.0;
1919
include "stdgates.inc";
2020
qubit q;
@@ -663,6 +663,6 @@ if (c) {
663663
z q[0];
664664
}
665665
)qasm";
666-
// NOLINTEND(readability-identifier-naming)
667666

668667
} // namespace mlir::qasm
668+
// NOLINTEND(readability-identifier-naming)

mlir/unittests/programs/qasm_programs.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
#include <string>
1414

15+
// NOLINTBEGIN(readability-identifier-naming)
1516
namespace mlir::qasm {
1617

1718
/// Allocates a single qubit.
@@ -328,3 +329,4 @@ extern const std::string simpleIf;
328329
extern const std::string ifElse;
329330

330331
} // namespace mlir::qasm
332+
// NOLINTEND(readability-identifier-naming)

0 commit comments

Comments
 (0)