Skip to content

Commit 1be2730

Browse files
committed
Remove duplicate __builtin_isgreater condition
This is just cleanup of a copy&paste mistake following a warning emitted by Visual Studio. Also clang-format the entire decision.
1 parent 3093e86 commit 1be2730

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/goto-programs/builtin_functions.cpp

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,13 +1439,12 @@ void goto_convertt::do_function_call_symbol(
14391439

14401440
// void __sync_lock_release (type *ptr, ...)
14411441
}
1442-
else if(identifier=="__builtin_isgreater" ||
1443-
identifier=="__builtin_isgreater" ||
1444-
identifier=="__builtin_isgreaterequal" ||
1445-
identifier=="__builtin_isless" ||
1446-
identifier=="__builtin_islessequal" ||
1447-
identifier=="__builtin_islessgreater" ||
1448-
identifier=="__builtin_isunordered")
1442+
else if(
1443+
identifier == "__builtin_isgreater" ||
1444+
identifier == "__builtin_isgreaterequal" ||
1445+
identifier == "__builtin_isless" || identifier == "__builtin_islessequal" ||
1446+
identifier == "__builtin_islessgreater" ||
1447+
identifier == "__builtin_isunordered")
14491448
{
14501449
// these support two double or two float arguments; we call the
14511450
// appropriate internal version

0 commit comments

Comments
 (0)