Skip to content

Commit aebf364

Browse files
committed
clang-format
1 parent 3c0a064 commit aebf364

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#ifndef MLIR_DIALECT_POLYNOMIAL_IR_POLYNOMIAL_H_
1010
#define MLIR_DIALECT_POLYNOMIAL_IR_POLYNOMIAL_H_
1111

12-
#include "mlir/Support/LogicalResult.h"
1312
#include "mlir/Support/LLVM.h"
13+
#include "mlir/Support/LogicalResult.h"
1414
#include "llvm/ADT/APInt.h"
1515
#include "llvm/ADT/ArrayRef.h"
1616
#include "llvm/ADT/Hashing.h"
@@ -73,7 +73,7 @@ class Polynomial {
7373
public:
7474
Polynomial() = delete;
7575

76-
explicit Polynomial(ArrayRef<Monomial> terms) : terms(terms) {};
76+
explicit Polynomial(ArrayRef<Monomial> terms) : terms(terms){};
7777

7878
// Returns a Polynomial from a list of monomials.
7979
// Fails if two monomials have the same exponent.

mlir/lib/Dialect/Polynomial/IR/PolynomialAttributes.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ Attribute PolynomialAttr::parse(AsmParser &parser, Type type) {
137137

138138
auto result = Polynomial::fromMonomials(monomials);
139139
if (failed(result)) {
140-
parser.emitError(parser.getCurrentLocation())
141-
<< "parsed polynomial must have unique exponents among monomials";
142-
return {};
140+
parser.emitError(parser.getCurrentLocation())
141+
<< "parsed polynomial must have unique exponents among monomials";
142+
return {};
143143
}
144144
return PolynomialAttr::get(parser.getContext(), result.value());
145145
}

0 commit comments

Comments
 (0)