diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-06-17 19:28:03 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-06-17 19:28:03 +0200 |
commit | 0b2345996dd6b0318e5c794c0fcb8921dc6e4427 (patch) | |
tree | 8927c5e090e36679689345ad1128f4978eb53d07 /frontend | |
parent | 3cfd6841dc2ae0fa0390dd9379c8434e42a12dee (diff) | |
download | nextpnr-0b2345996dd6b0318e5c794c0fcb8921dc6e4427.tar.gz nextpnr-0b2345996dd6b0318e5c794c0fcb8921dc6e4427.tar.bz2 nextpnr-0b2345996dd6b0318e5c794c0fcb8921dc6e4427.zip |
Updates from clangformat
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/json/jsonparse.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/frontend/json/jsonparse.cc b/frontend/json/jsonparse.cc index 3c060fd7..0b06f980 100644 --- a/frontend/json/jsonparse.cc +++ b/frontend/json/jsonparse.cc @@ -741,10 +741,9 @@ void json_import(Design *design, string modname, JsonNode *node) netnames.resize(netid + 1); netnames.at(netid) = basename + - (num_bits == 1 - ? "" - : std::string("[") + std::to_string(i) + - std::string("]")); + (num_bits == 1 ? "" : std::string("[") + + std::to_string(i) + + std::string("]")); } } } |