Skip to content

Commit a8d2574

Browse files
committed
clang-format
1 parent ff7dfaf commit a8d2574

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

thorin/axiom.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Axiom::Axiom(NormalizeFn normalizer,
2020

2121
std::pair<u8, u8> Axiom::infer_curry_and_trip(const Def* type) {
2222
u8 curry = 0;
23-
u8 trip = 0;
23+
u8 trip = 0;
2424
NomSet done;
2525
while (auto pi = type->isa<Pi>()) {
2626
if (auto nom = pi->isa_nom()) {

thorin/fe/parser.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -609,8 +609,7 @@ void Parser::parse_ax() {
609609

610610
if (accept(Tok::Tag::T_comma)) {
611611
auto c = expect(Tok::Tag::L_u, "curry counter for axiom");
612-
if (c.u() > curry)
613-
err(c.loc(), "curry counter cannot be greater than {}", curry);
612+
if (c.u() > curry) err(c.loc(), "curry counter cannot be greater than {}", curry);
614613
curry = c.u();
615614
}
616615

0 commit comments

Comments
 (0)