Skip to content

Commit 2ffdcbd

Browse files
committed
update releasenotes [skip ci]
1 parent 824ffa6 commit 2ffdcbd

1 file changed

Lines changed: 33 additions & 13 deletions

File tree

releasenotes.txt

Lines changed: 33 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,46 @@
22
Release Notes for Cppcheck 2.22
33

44
Major bug fixes & crashes:
5-
-
5+
- Fixed a large number of fuzzer-found crashes and hangs in the tokenizer and template simplifier, e.g. TemplateSimplifier::expandTemplate() (bb630c244, 3f2d60c4b), Tokenizer::simplifyTypedef() (71de6753d, 3deb36d1f, 592e7b7c2), Tokenizer::simplifyUsing() (9162aa7fb, 7d5a54cc6), Tokenizer::findGarbageCode() (08db3048d) and ReverseTraversal::traverse() (3a3184de2, 5aa31d0da).
6+
- 6d2b6f4a5 Fix #14974 [regression] inline suppression does not work with build dir anymore.
7+
- 9a500c866 Fix #14972 [regression] Syntax Error: AST broken, '!' doesn't have an operand.
68

79
New checks:
8-
- Warn when feof() is used as a while loop condition (wrongfeofUsage).
9-
- ftell() result is unspecified when file is opened in mode "t".
10-
- Detect when an STL algorithm such as std::copy, std::equal, std::transform, etc. accesses more elements through an iterator than are available in the container (algorithmOutOfBounds).
11-
- Detect switch cases that cannot be selected when the switch condition has a known value (unreachableSwitchCase).
10+
- 0d7884dad Warn when feof() is used as a while loop condition (wrongfeofUsage).
11+
- 04091bd59 ftell() result is unspecified when file is opened in mode "t".
12+
- 3d88880e8 Detect when an STL algorithm such as std::copy, std::equal, std::transform, etc. accesses more elements through an iterator than are available in the container (algorithmOutOfBounds).
13+
- f695ade7f Detect switch cases that cannot be selected when the switch condition has a known value (unreachableSwitchCase).
1214

1315
C/C++ support:
14-
-
16+
- b878dc223 Support C++23 'if consteval' / 'if !consteval'.
17+
- 7a8c67ab4 Fix #15007 `isAttributeNoreturn` not set for `_Noreturn`.
1518

1619
GUI:
17-
-
18-
19-
Changed interface:
20-
-
20+
- f81f6f0e7 Fix #14829 Platform configuration mismatch between UI selection and analysis log.
21+
- 9f74c2db8 Fix #14813 crash: recheck in GUI sometimes crashes.
22+
- 550189be6 Fix #14738 GUI recheck of files not working properly when importing compile_commands.json.
23+
- 8f7666dd3 Fix #14983 GUI: exclude file with relative path.
24+
- 6640862c9 Fix #14933 each GUI log entry line should be output on a separate line.
25+
- 5799d47ee Removed GUI compliance report instructions (feature removed).
26+
27+
Suppressions:
28+
- 93546a2bc XML suppression file: added macro attribute for specifying macro name.
29+
- fecb3496f Fix #14959 Warning hash for token-based warnings.
30+
- f6fff71c1 Fix #15013 Calculate warning hash for CTU warnings.
31+
- 0b5998407 Baseline functionality (script and documentation).
32+
- 637d5be67 Suppression file name cache. (performance)
33+
- c976cac0e ErrorLogger: do not open and read from files unless necessary (performance).
34+
35+
Import project:
36+
- d32c01d1b Added support for Folders in slnx project files, skip non-C++ projects.
37+
- 9408a1d22 Added support for vcxproj ExcludedFromBuild.
38+
- bf099d1d1 Import project: handle forced include files from compilation database projects.
39+
- 3a9750e31 Flexible handling of -isystem, --sysroot and -I flags in compile_commands.json through the script tweak-compile_commands.py.
2140

2241
Infrastructure & dependencies:
23-
- flexible handling of -isystem, --sysroot and -I flags in compile_commands.json through the script tweak-compile_commands.py.
24-
- baseline functionality.
42+
- 4e62f0cca Fix #14614 Optionally provide comments in preprocessor output (BuildCache).
43+
- ff4d7ce36 Fix #14987 Update simplecpp to 1.9.1.
2544

2645
Other:
27-
- Added configuration file for Microsoft.GSL (Guideline Support Library).
46+
- 1fb66305f Added configuration file for Microsoft.GSL (Guideline Support Library).
47+
- 167f49dce, 5aec67c33, 767ace640 man/checkers: documented remaining checkers and fixed guideline classifications for MISRA C++.

0 commit comments

Comments
 (0)