Merge pull request #4023 from geoffw0/loopdir

C++: Exclude decrementing unsigned counters from inconsistentLoopDirection.ql
This commit is contained in:
Jonas Jensen
2020-08-10 12:10:29 +02:00
committed by GitHub
4 changed files with 68 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
# Improvements to C/C++ analysis
The following changes in version 1.26 affect C/C++ analysis in all applications.
## General improvements
## New queries
| **Query** | **Tags** | **Purpose** |
|-----------------------------|-----------|--------------------------------------------------------------------|
## Changes to existing queries
| **Query** | **Expected impact** | **Change** |
|----------------------------|------------------------|------------------------------------------------------------------|
| 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. |
## Changes to libraries