Skip to content

Commit d6955b0

Browse files
committed
C++: Fix Copilot comments.
1 parent 141d5be commit d6955b0

File tree

1 file changed

+4
-4
lines changed
  • c/cert/test/rules/INT34-C

1 file changed

+4
-4
lines changed

c/cert/test/rules/INT34-C/test.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@ int main() {
357357
lhs12 << rhs11; // COMPLIANT: lhs12's precision is strictly greater than rhs11
358358
lhs12 << rhs12; // NON_COMPLIANT: lhs12's precision is not strictly greater
359359
// than rhs12's
360-
lhs12 << rhs13; // COMPLIANT[FALSE POSITIVE]: lhs12's precision is strictly greater than rhs13 (FP because range analysis reduced precision for performance reasons)
361-
lhs12 << rhs14; // COMPLIANT[FALSE POSITIVE]: lhs12's precision is strictly greater than rhs14 (FP because range analysis reduced precision for performance reasons)
360+
lhs12 << rhs13; // COMPLIANT[FALSE_POSITIVE]: lhs12's precision is strictly greater than rhs13 (FP because range analysis reduced precision for performance reasons)
361+
lhs12 << rhs14; // COMPLIANT[FALSE_POSITIVE]: lhs12's precision is strictly greater than rhs14 (FP because range analysis reduced precision for performance reasons)
362362
lhs13 << rhs0; // COMPLIANT: lhs13's precision is strictly greater than rhs0
363363
lhs13 << rhs1; // COMPLIANT: lhs13's precision is strictly greater than rhs1
364364
lhs13 << rhs2; // COMPLIANT: lhs13's precision is strictly greater than rhs2
@@ -1893,8 +1893,8 @@ int main() {
18931893
lhs12 >> rhs11; // COMPLIANT: lhs12's precision is strictly greater than rhs11
18941894
lhs12 >> rhs12; // NON_COMPLIANT: lhs12's precision is not strictly greater
18951895
// than rhs12
1896-
lhs12 >> rhs13; // COMPLIANT[FALSE POSITIVE]: lhs12's precision is strictly greater than rhs13 (FP because range analysis reduced precision for performance reasons)
1897-
lhs12 >> rhs14; // COMPLIANT[FALSE POSITIVE]: lhs12's precision is strictly greater than rhs14 (FP because range analysis reduced precision for performance reasons)
1896+
lhs12 >> rhs13; // COMPLIANT[FALSE_POSITIVE]: lhs12's precision is strictly greater than rhs13 (FP because range analysis reduced precision for performance reasons)
1897+
lhs12 >> rhs14; // COMPLIANT[FALSE_POSITIVE]: lhs12's precision is strictly greater than rhs14 (FP because range analysis reduced precision for performance reasons)
18981898
lhs13 >> rhs0; // COMPLIANT: lhs13's precision is strictly greater than rhs0
18991899
lhs13 >> rhs1; // COMPLIANT: lhs13's precision is strictly greater than rhs1
19001900
lhs13 >> rhs2; // COMPLIANT: lhs13's precision is strictly greater than rhs2

0 commit comments

Comments
 (0)