aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/chip.h
diff options
context:
space:
mode:
authorZipCPU <dgisselq@ieee.org>2018-06-07 15:38:24 -0400
committerZipCPU <dgisselq@ieee.org>2018-06-07 15:38:24 -0400
commit4499864024a5b658bf5772ed87e218bcdaedc262 (patch)
tree493bb4dc9e86cfc14466a4c7be5252dcd6843a74 /ice40/chip.h
parenta4f687548e31b64a7684fdfbb64ea82f46370e2a (diff)
downloadnextpnr-4499864024a5b658bf5772ed87e218bcdaedc262.tar.gz
nextpnr-4499864024a5b658bf5772ed87e218bcdaedc262.tar.bz2
nextpnr-4499864024a5b658bf5772ed87e218bcdaedc262.zip
Applied clang-format to my own contributions
Diffstat (limited to 'ice40/chip.h')
-rw-r--r--ice40/chip.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/ice40/chip.h b/ice40/chip.h
index 05ef2754..3125b17f 100644
--- a/ice40/chip.h
+++ b/ice40/chip.h
@@ -173,12 +173,17 @@ struct BelIterator
{
int cursor;
- BelIterator operator++() { cursor++; return *this; }
- BelIterator operator++(int) {
- BelIterator prior(*this);
- cursor++;
- return prior;
- }
+ BelIterator operator++()
+ {
+ cursor++;
+ return *this;
+ }
+ BelIterator operator++(int)
+ {
+ BelIterator prior(*this);
+ cursor++;
+ return prior;
+ }
bool operator!=(const BelIterator &other) const
{