diff options
| author | Clifford Wolf <clifford@clifford.at> | 2018-06-19 13:40:35 +0200 | 
|---|---|---|
| committer | Clifford Wolf <clifford@clifford.at> | 2018-06-19 14:10:42 +0200 | 
| commit | fd40d6f58d10b0435be1f443293e4c9405cfcf05 (patch) | |
| tree | 57a3d6b2c90eccfae80e6e16b568486237f101cf /frontend | |
| parent | 5f37da970463b4197ddcdfeb94cfd7c7d6803682 (diff) | |
| download | nextpnr-fd40d6f58d10b0435be1f443293e4c9405cfcf05.tar.gz nextpnr-fd40d6f58d10b0435be1f443293e4c9405cfcf05.tar.bz2 nextpnr-fd40d6f58d10b0435be1f443293e4c9405cfcf05.zip  | |
Updates from clangformat
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/json/jsonparse.cc | 11 | 
1 files changed, 5 insertions, 6 deletions
diff --git a/frontend/json/jsonparse.cc b/frontend/json/jsonparse.cc index b3d6f718..cfe2739c 100644 --- a/frontend/json/jsonparse.cc +++ b/frontend/json/jsonparse.cc @@ -748,12 +748,11 @@ void json_import(Context *ctx, string modname, JsonNode *node)                      int netid = bits->data_array.at(i)->data_number;                      if (netid >= netnames.size())                          netnames.resize(netid + 1); -                    netnames.at(netid) = -                            ctx->id(basename + -                                    (num_bits == 1 ? "" -                                                   : std::string("[") + -                                                             std::to_string(i) + -                                                             std::string("]"))); +                    netnames.at(netid) = ctx->id( +                            basename + +                            (num_bits == 1 ? "" : std::string("[") + +                                                          std::to_string(i) + +                                                          std::string("]")));                  }              }          }  | 
