Files
codeql/change-notes/1.20/analysis-cpp.md
Jonas Jensen a4b3b1e8c8 Merge pull request #653 from geoffw0/ex-ch-notes
CPP: Additional change notes (for 1.20)
2018-12-10 16:59:12 +01:00

1.2 KiB

Improvements to C/C++ analysis

General improvements

  • The logic for identifying auto-generated files via #line directives has been improved.

New queries

Query Tags Purpose

Changes to existing queries

Query Expected impact Change
Suspicious pointer scaling (cpp/suspicious-pointer-scaling) Fewer false positives False positives involving types that are not uniquely named in the snapshot have been fixed.
Unused static variable (cpp/unused-static-variable) Fewer false positive results Variables with the attribute unused are now excluded from the query.
Resource not released in destructor (cpp/resource-not-released-in-destructor) Fewer false positive results Fix false positives where a resource is released via a virtual method call.

Changes to QL libraries