Skip to content

Commit 5e5a112

Browse files
committed
C++: Change note
1 parent b4679cb commit 5e5a112

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

change-notes/1.26/analysis-cpp.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ The following changes in version 1.26 affect C/C++ analysis in all applications.
1414
| **Query** | **Expected impact** | **Change** |
1515
|----------------------------|------------------------|------------------------------------------------------------------|
1616
| Inconsistent direction of for loop (`cpp/inconsistent-loop-direction`) | Fewer false positive results | The query now accounts for intentional wrapping of an unsigned loop counter. |
17+
| Comparison result is always the same (`cpp/constant-comparison`) | More correct results | Bounds on expressions involving multiplication can now be determined in more cases. |
1718

1819
## Changes to libraries
1920

21+
* The `SimpleRangeAnalysis` library now supports multiplications of the form
22+
`e1 * e2` when `e1` and `e2` are unsigned.

0 commit comments

Comments
 (0)