Skip to content

Commit 2d5a359

Browse files
author
Chris Ryder
committed
clang-format symbol.cpp
1 parent e1f9d3b commit 2d5a359

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/util/symbol.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,17 +170,16 @@ bool symbolt::is_well_formed() const
170170
const auto split_name = split_string(id2string(name), '$');
171171

172172
// FIXME: Should loop for all delimited?
173-
if(split_name.size() > 1 && has_prefix(split_name[1], "link"))
173+
if(split_name.size() > 1 && has_prefix(split_name[1], "link"))
174174
{
175-
176175
size_t post_link_start = 4;
177176
while(post_link_start < split_name[1].size() &&
178-
std::isdigit(split_name[1][post_link_start]))
177+
std::isdigit(split_name[1][post_link_start]))
179178
++post_link_start;
180179

181180
const auto stripped_name =
182-
split_name[0] +
183-
split_name[1].substr(post_link_start,split_name[1].size());
181+
split_name[0] +
182+
split_name[1].substr(post_link_start, split_name[1].size());
184183

185184
if(has_suffix(stripped_name, id2string(base_name)))
186185
criterion_must_hold = false;

0 commit comments

Comments
 (0)