From fe47e7fc2d8f6fb89bf35669d0c77cce42b6d52b Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sat, 16 Jun 2018 15:25:33 +0200 Subject: Update clangformat Signed-off-by: Clifford Wolf --- ice40/bitstream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ice40/bitstream.cc') diff --git a/ice40/bitstream.cc b/ice40/bitstream.cc index ba4a0e8d..a9c46ea8 100644 --- a/ice40/bitstream.cc +++ b/ice40/bitstream.cc @@ -387,7 +387,7 @@ void write_asc(const Design &design, std::ostream &out) bool val = (init.at((init.size() - 1) - i) == '1'); bits.at(i) = val; } - for (int i = bits.size()-4; i >= 0; i -= 4) { + for (int i = bits.size() - 4; i >= 0; i -= 4) { int c = bits.at(i) + (bits.at(i + 1) << 1) + (bits.at(i + 2) << 2) + (bits.at(i + 3) << 3); out << char(std::tolower(get_hexdigit(c))); -- cgit v1.2.3