From ddf546c2cc8a99da320921f9b49a01b865ee04c9 Mon Sep 17 00:00:00 2001 From: David Shah Date: Sat, 16 May 2020 12:57:24 +0100 Subject: clangformat Signed-off-by: David Shah --- common/timing_opt.cc | 5 ++--- ecp5/bitstream.cc | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/timing_opt.cc b/common/timing_opt.cc index 898222ab..309eedf2 100644 --- a/common/timing_opt.cc +++ b/common/timing_opt.cc @@ -39,9 +39,8 @@ namespace std { template <> struct hash> { - std::size_t - operator()(const std::pair &idp) const - noexcept + std::size_t operator()( + const std::pair &idp) const noexcept { std::size_t seed = 0; boost::hash_combine(seed, hash()(idp.first)); diff --git a/ecp5/bitstream.cc b/ecp5/bitstream.cc index 542ee6ca..d6b1c701 100644 --- a/ecp5/bitstream.cc +++ b/ecp5/bitstream.cc @@ -932,7 +932,8 @@ void write_bitstream(Context *ctx, std::string base_config_file, std::string tex else log_error("cannot set DRIVE on differential IO at location %s\n", pio.c_str()); cc.tiles[pio_tile].add_enum(pio + ".DRIVE", str_or_default(ci->attrs, ctx->id("DRIVE"), "12")); - cc.tiles[pio_tile].add_enum(other + ".DRIVE", str_or_default(ci->attrs, ctx->id("DRIVE"), "12")); + cc.tiles[pio_tile].add_enum(other + ".DRIVE", + str_or_default(ci->attrs, ctx->id("DRIVE"), "12")); } } else { if (!drive_3v3_warning_done) -- cgit v1.2.3