Skip to content

Commit ab024c1

Browse files
committed
Remove extra semicolons (-Wpedantic)
1 parent 2c26357 commit ab024c1

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

riscv/csrs.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ hideleg_csr_t::hideleg_csr_t(processor_t* const proc, const reg_t addr, csr_t_p
12311231

12321232
reg_t hideleg_csr_t::read() const noexcept {
12331233
return masked_csr_t::read() & mideleg->read();
1234-
};
1234+
}
12351235

12361236
hgatp_csr_t::hgatp_csr_t(processor_t* const proc, const reg_t addr):
12371237
basic_csr_t(proc, addr, 0) {

riscv/triggers.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -675,4 +675,4 @@ reg_t module_t::tinfo_read(unsigned UNUSED index) const noexcept
675675
(CSR_TINFO_VERSION_1 << CSR_TINFO_VERSION_OFFSET);
676676
}
677677

678-
};
678+
}

riscv/triggers.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,6 @@ class module_t {
301301
std::vector<trigger_t *> triggers;
302302
};
303303

304-
};
304+
}
305305

306306
#endif

softfloat/fall_maxmin.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ float ## bits ## _t f ## bits ## _min( float ## bits ## _t a, float ## bits ## _
7272
} \
7373
}
7474

75-
COMPARE_MAX(a, b, 16);
76-
COMPARE_MAX(a, b, 32);
77-
COMPARE_MAX(a, b, 64);
75+
COMPARE_MAX(a, b, 16)
76+
COMPARE_MAX(a, b, 32)
77+
COMPARE_MAX(a, b, 64)
7878

79-
COMPARE_MIN(a, b, 16);
80-
COMPARE_MIN(a, b, 32);
81-
COMPARE_MIN(a, b, 64);
79+
COMPARE_MIN(a, b, 16)
80+
COMPARE_MIN(a, b, 32)
81+
COMPARE_MIN(a, b, 64)
8282

8383
bfloat16_t bf16_max( bfloat16_t a, bfloat16_t b )
8484
{

0 commit comments

Comments
 (0)