Skip to content

Commit 1b98f24

Browse files
authored
Merge branch 'master' into python-better-handling-calls-on-edge-of-context
2 parents 9c2b506 + fad37bd commit 1b98f24

File tree

144 files changed

+2225
-1266
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+2225
-1266
lines changed

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/java/ @Semmle/java
33
/javascript/ @Semmle/js
44
/cpp/ @Semmle/cpp-analysis
5+
/cpp/**/*.qhelp @semmledocs-ac

change-notes/1.22/analysis-cpp.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
| **Query** | **Expected impact** | **Change** |
1313
|----------------------------|------------------------|------------------------------------------------------------------|
14+
| Expression has no effect (`cpp/useless-expression`) | Fewer false positive results | Calls to functions with the `weak` attribute are no longer considered to be side effect free, because they could be overridden with a different implementation at link time. |
1415
| Suspicious pointer scaling (`cpp/suspicious-pointer-scaling`) | Lower precision | The precision of this query has been reduced to "medium". This coding pattern is used intentionally and safely in a number of real-world projects. Results are no longer displayed on LGTM unless you choose to display them. |
1516

1617
## Changes to QL libraries

change-notes/1.22/analysis-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
| **Query** | **Expected impact** | **Change** |
2323
|--------------------------------|------------------------------|---------------------------------------------------------------------------|
24-
24+
| Shift out of range | Fewer false positive results | This rule now correctly handles BigInt shift operands. |
2525

2626
## Changes to QL libraries
2727

cpp/ql/src/Likely Bugs/Leap Year/Adding365daysPerYear.qhelp renamed to cpp/ql/src/Likely Bugs/Leap Year/Adding365DaysPerYear.qhelp

File renamed without changes.

cpp/ql/src/Likely Bugs/Leap Year/Adding365daysPerYear.ql renamed to cpp/ql/src/Likely Bugs/Leap Year/Adding365DaysPerYear.ql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
* @problem.severity warning
66
* @id cpp/leap-year/adding-365-days-per-year
77
* @precision medium
8-
* @tags security
9-
* leap-year
8+
* @tags leap-year
109
*/
1110

1211
import cpp

0 commit comments

Comments
 (0)