Skip to content

Commit 2ab0a7b

Browse files
committed
Fix
1 parent 66c6902 commit 2ab0a7b

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

test/cfg/std.cpp

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,31 +1058,31 @@ void returnValue_std_isgreater(void)
10581058
{
10591059
// cppcheck-suppress knownConditionTrueFalse
10601060
if (std::isgreater(4,2) == 0) {}
1061-
// @todo support floats
1061+
// cppcheck-suppress knownConditionTrueFalse
10621062
if (std::isgreater(4.0f,2.0f) == 0) {}
10631063
}
10641064

10651065
void returnValue_std_isgreaterequal(void)
10661066
{
10671067
// cppcheck-suppress knownConditionTrueFalse
10681068
if (std::isgreaterequal(4,2) == 0) {}
1069-
// @todo support floats
1069+
// cppcheck-suppress knownConditionTrueFalse
10701070
if (std::isgreaterequal(4.0f,2.0f) == 0) {}
10711071
}
10721072

10731073
void returnValue_std_isless(void)
10741074
{
10751075
// cppcheck-suppress knownConditionTrueFalse
10761076
if (std::isless(4,2) == 0) {}
1077-
// @todo support floats
1077+
// cppcheck-suppress knownConditionTrueFalse
10781078
if (std::isless(4.0f,2.0f) == 0) {}
10791079
}
10801080

10811081
void returnValue_std_islessequal(void)
10821082
{
10831083
// cppcheck-suppress knownConditionTrueFalse
10841084
if (std::islessequal(4,2) == 0) {}
1085-
// @todo support floats
1085+
// cppcheck-suppress knownConditionTrueFalse
10861086
if (std::islessequal(4.0f,2.0f) == 0) {}
10871087
}
10881088

@@ -1093,8 +1093,10 @@ void returnValue_std_islessgreater(void)
10931093
// cppcheck-suppress knownConditionTrueFalse
10941094
if (std::islessgreater(2,4) == 0) {}
10951095

1096-
if (std::islessgreater(4.0f,2.0f) == 0) {} // @todo support floats
1097-
if (std::islessgreater(2.0f,4.0f) == 0) {} // @todo support floats
1096+
// cppcheck-suppress knownConditionTrueFalse
1097+
if (std::islessgreater(4.0f,2.0f) == 0) {}
1098+
// cppcheck-suppress knownConditionTrueFalse
1099+
if (std::islessgreater(2.0f,4.0f) == 0) {}
10981100
}
10991101

11001102
void bufferAccessOutOfBounds(void)

0 commit comments

Comments
 (0)