diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-07-12 22:04:13 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-07-12 22:04:13 +0200 |
commit | b8a42ff53b1fbb6e03d169d14e58180a750f4cad (patch) | |
tree | 72920e1ca49d1520045c5df847abe227f70b2a2a /ecp5 | |
parent | ad60ab2ef164678cdde4410906cea674d122bf13 (diff) | |
download | nextpnr-b8a42ff53b1fbb6e03d169d14e58180a750f4cad.tar.gz nextpnr-b8a42ff53b1fbb6e03d169d14e58180a750f4cad.tar.bz2 nextpnr-b8a42ff53b1fbb6e03d169d14e58180a750f4cad.zip |
Updates from clang-format
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/arch.cc | 10 | ||||
-rw-r--r-- | ecp5/archdefs.h | 10 | ||||
-rw-r--r-- | ecp5/main.cc | 10 |
3 files changed, 14 insertions, 16 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc index ace0703e..51f4db84 100644 --- a/ecp5/arch.cc +++ b/ecp5/arch.cc @@ -290,15 +290,9 @@ delay_t Arch::estimateDelay(WireId src, WireId dst) const // ----------------------------------------------------------------------- -bool Arch::place() -{ - return placer1(getCtx()); -} +bool Arch::place() { return placer1(getCtx()); } -bool Arch::route() -{ - return router1(getCtx()); -} +bool Arch::route() { return router1(getCtx()); } // ----------------------------------------------------------------------- diff --git a/ecp5/archdefs.h b/ecp5/archdefs.h index 797db5f7..c4d25a50 100644 --- a/ecp5/archdefs.h +++ b/ecp5/archdefs.h @@ -119,8 +119,14 @@ struct DecalId Location location; uint32_t z = 0; - bool operator==(const DecalId &other) const { return type == other.type && location == other.location && z == other.z; } - bool operator!=(const DecalId &other) const { return type != other.type || location != other.location || z != other.z; } + bool operator==(const DecalId &other) const + { + return type == other.type && location == other.location && z == other.z; + } + bool operator!=(const DecalId &other) const + { + return type != other.type || location != other.location || z != other.z; + } }; NEXTPNR_NAMESPACE_END diff --git a/ecp5/main.cc b/ecp5/main.cc index 45774431..59403a93 100644 --- a/ecp5/main.cc +++ b/ecp5/main.cc @@ -93,18 +93,16 @@ int main(int argc, char *argv[]) } if (vm.count("help") || argc == 1) { - std::cout << boost::filesystem::basename(argv[0]) - << " -- Next Generation Place and Route (git " - "sha1 " GIT_COMMIT_HASH_STR ")\n"; + std::cout << boost::filesystem::basename(argv[0]) << " -- Next Generation Place and Route (git " + "sha1 " GIT_COMMIT_HASH_STR ")\n"; std::cout << "\n"; std::cout << options << "\n"; return argc != 1; } if (vm.count("version")) { - std::cout << boost::filesystem::basename(argv[0]) - << " -- Next Generation Place and Route (git " - "sha1 " GIT_COMMIT_HASH_STR ")\n"; + std::cout << boost::filesystem::basename(argv[0]) << " -- Next Generation Place and Route (git " + "sha1 " GIT_COMMIT_HASH_STR ")\n"; return 1; } |