Skip to content

Commit e715ba1

Browse files
authored
Update releasenotes.txt (#4405)
1 parent cf12718 commit e715ba1

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

releasenotes.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,14 @@ release notes for cppcheck-2.9
55
- on Windows the callstack is now being written to the output specific via "--exception-handling"
66
- make it possible to disable the various exception handling parts via the CMake options "NO_UNIX_SIGNAL_HANDLING", "NO_UNIX_BACKTRACE_SUPPORT" and "NO_WINDOWS_SEH"
77
- detect more redundant calls of std::string::c_str(), std::string::substr(), and unnecessary copies of containers
8+
- Add a `match` function to addon similiar to `Token::Match` used internally by cppcheck:
9+
- `|` for either-or tokens(ie `struct|class` to match either `struct` or `class`)
10+
- `!!` to negate a token
11+
- It supports the `%any%`, `%assign%`, `%comp%`, `%name%`, `%op%`, `%or%`, `%oror%`, and `%var%` keywords
12+
- It supports `(*)`, `{*}`, `[*]`, and `<*>` to match links
13+
- `@` can be added to bind the token to a name
14+
- `**` can be used to match until a token
15+
- Add math functions which can be used in library function definition. This enables evaluation of more math functions in ValueFlow
16+
- Further improve lifetim analysis with `this` pointers
17+
- Propagate condition values from outer function calls
18+
- Add debug intrinscs `debug_valueflow` and `debug_valuetype` to show more detail including source backtraces

0 commit comments

Comments
 (0)