aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/archdefs.h
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-03 14:48:49 -0800
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-04 16:38:33 -0800
commit0b911e484cebd05cb57c1ce68bf1482a91db03ca (patch)
treefdbe1f9c16312a3e077cf58f0bba11a4af9e30d1 /fpga_interchange/archdefs.h
parent149087b880d97c229132e76647e63bfcdffee9a0 (diff)
downloadnextpnr-0b911e484cebd05cb57c1ce68bf1482a91db03ca.tar.gz
nextpnr-0b911e484cebd05cb57c1ce68bf1482a91db03ca.tar.bz2
nextpnr-0b911e484cebd05cb57c1ce68bf1482a91db03ca.zip
Run "make clangformat".
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/archdefs.h')
-rw-r--r--fpga_interchange/archdefs.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/fpga_interchange/archdefs.h b/fpga_interchange/archdefs.h
index 66d72f1c..b3571fab 100644
--- a/fpga_interchange/archdefs.h
+++ b/fpga_interchange/archdefs.h
@@ -123,15 +123,13 @@ struct DecalId
bool operator!=(const DecalId &other) const { return false; }
};
-struct BelBucketId {
+struct BelBucketId
+{
IdString name;
bool operator==(const BelBucketId &other) const { return (name == other.name); }
bool operator!=(const BelBucketId &other) const { return (name != other.name); }
- bool operator<(const BelBucketId &other) const
- {
- return name < other.name;
- }
+ bool operator<(const BelBucketId &other) const { return name < other.name; }
};
struct ArchNetInfo