Johan Bertrand
44ab976451
Inline suppression for block of code or whole file ( #5402 )
...
Added new suppress comments:
- `cppcheck-suppress-begin` and `cppcheck-suppress-end` to remove blocks
of suppression
- `cppcheck-suppress-file` to remove suppression at file level
The suppressions do not interfere with each others. For example, all the
suppressions are matched in the following code:
```c
// cppcheck-suppress-file uninitvar
void f() {
int a;
// cppcheck-suppress-begin uninitvar
// cppcheck-suppress uninitvar
a++;
// cppcheck-suppress-end uninitvar
}
```
Tickets:
https://trac.cppcheck.net/ticket/11902
https://trac.cppcheck.net/ticket/8528
2023-10-13 12:45:13 +02:00
Daniel Marjamäki
4fa1c7d5f9
2.12.99: Set versions ( #5427 )
2023-09-10 18:43:00 +02:00
Daniel Marjamäki
557241ad71
2.11.99: Set versions
2023-06-22 13:50:51 +02:00
Daniel Marjamäki
12118d8d67
Document --check-level better
2023-04-11 15:30:07 +02:00
Daniel Marjamäki
89a95ddc8f
--performance-valueflow-max-if-count: review comments
2023-04-08 13:07:28 +02:00
Oliver Stöneberg
1a460d7bc0
bumped version to 2.11 ( #4751 )
2023-01-29 15:18:22 +01:00
Oliver Stöneberg
fd15811215
de-coupled `--check-library` from `information` severity and other dependencies ( #3861 )
2023-01-26 22:28:04 +01:00
Oliver Stöneberg
433293b9ab
added missing version bumps to 2.10 ( #4420 )
2022-09-09 21:02:04 +02:00
Daniel Marjamäki
98b2fd8151
Manual: Added chapter about Cppcheck Premium
2022-08-29 18:04:23 +02:00
Rikard Falkeborn
cfa5cd4849
CERT addon removal cleanup ( #4322 )
...
* cmdlineparser: Update addon example to misra
* gui/help: Remove reference to CERT
* manual: Remove reference to CERT
2022-07-29 16:46:36 +02:00
Kushal-Chandar
8a674e110a
fix: fixed broken pygments.org link in manpage ( #4302 )
2022-07-23 14:56:02 +02:00
Oliver Stöneberg
f644938eb0
fixed Cppcheck version ( #4292 )
2022-07-19 20:42:19 +02:00
Daniel Marjamäki
6a0fb05e68
manual: removed chapter about bug hunting
2022-04-21 21:34:07 +02:00
Daniel Marjamäki
631a9eefd2
2.7: Set versions
2022-02-05 12:17:54 +01:00
Michael Løiten
303b85c043
Fix deadlink in documentation ( #3677 )
2022-01-06 00:09:40 +01:00
Daniel Marjamäki
7684d7b98a
2.6 dev: set version
2021-10-02 13:15:12 +02:00
Daniel Marjamäki
ca047e57bf
Switch from http to https on our sourceforge webpage
2021-08-28 12:46:54 +02:00
Daniel Marjamäki
c630be7f8f
Manual; minor tweaks of lists
2021-08-02 15:42:20 +02:00
Daniel Marjamäki
3e3e9d8c50
2.5; Update versions
2021-07-04 08:40:41 +02:00
Daniel Marjamäki
d2d2124238
Revert "Clang import; This experimental feature didn't "take off" much. After a lot of work we are still far fram the goal. I remove it now but don't rule out completely that it could ever be added again."
...
This reverts commit 207361b174
.
2021-04-30 16:47:02 +02:00
Daniel Marjamäki
59ef06819a
manual; Add chapter about cppcheck build dir
2021-04-29 19:52:25 +02:00
Daniel Marjamäki
207361b174
Clang import; This experimental feature didn't "take off" much. After a lot of work we are still far fram the goal. I remove it now but don't rule out completely that it could ever be added again.
2021-04-21 18:59:48 +02:00
Daniel Marjamäki
21b1987b55
Manual; Add chapter about cppcheck build dir. Formatting tweaks.
2021-04-07 15:32:21 +02:00
Daniel Marjamäki
cba0101df5
2.4: Set version
2021-03-21 21:25:54 +01:00
Daniel Marjamäki
e8f36f6148
Manual; Try to clarify how -D and -U works
2021-02-10 21:51:16 +01:00
Daniel Marjamäki
afb46e6cff
Manual; Attempt to clarify section about automatic preprocessor defines configuration
2021-02-06 13:35:12 +01:00
Daniel Marjamäki
a30c28550b
Manual; Try to clarify how automatic configuration works
2021-02-06 11:48:08 +01:00
Daniel Marjamäki
2a1e230d2e
2.3: Update version
2020-12-05 10:00:02 +01:00
Daniel Marjamäki
96e3c0a9e0
Manual; Improved text about misra
2020-12-02 08:31:45 +01:00
Daniel Marjamäki
a05a20093a
manual; tweaked introduction
2020-11-25 17:48:17 +01:00
longradix
e96948cdd9
documentation updates ( #2906 )
2020-11-25 16:56:24 +01:00
Daniel Marjamäki
2e20ee9e39
set version 2.2.99
2020-10-03 13:54:17 +02:00
Daniel Marjamäki
c373be0b16
2.2: Update versions
2020-10-03 10:47:35 +02:00
Daniel Marjamäki
7ff6d691e2
Manual: Clarify section about inline suppressions. For backwards compatibility we might need to handle a comment after a '{' differently.
2020-10-02 18:18:30 +02:00
Oliver Stöneberg
fb37137216
extended the --clang command-line option so you can specify a custom … ( #2734 )
2020-09-06 07:46:51 +02:00
Daniel Marjamäki
da1de50deb
Clang: The clang parser import should be considered to be an experimental feature for now. There are many problems to solve.
2020-09-04 18:30:29 +02:00
Daniel Marjamäki
acd1e848dd
manual; try to clarify better how variable contracts are used by cppcheck
2020-08-28 19:42:52 +02:00
Daniel Marjamäki
31d7acb99a
manual: markdown fix
2020-08-25 18:16:14 +02:00
Daniel Marjamäki
56f1897961
manual: markdown fix
2020-08-25 18:13:18 +02:00
Daniel Marjamäki
3226fd85ee
manual: Updated documentation for contracts
2020-08-25 18:10:03 +02:00
Daniel Marjamäki
6277eece67
Variable contracts
2020-08-24 20:57:49 +02:00
eivindt
27e40af06c
Add support for comments at end of suppression in suppression files ( #2736 )
2020-08-20 21:49:07 +02:00
Daniel Marjamäki
f11a089141
help/manual: update explanations about severities
2020-07-23 16:09:24 +02:00
Simon Large
a23d1ca692
manual.md: Reformatting lists
2020-07-15 21:49:25 +02:00
Daniel Marjamäki
57187ef876
ImportProject: Read max template recursion configuration value
2020-06-27 10:34:02 +02:00
Daniel Marjamäki
98bf0d41aa
TemplateSimplifier; Clarify information message when max recursion limit is reached
2020-06-26 12:59:40 +02:00
Daniel Marjamäki
d0b2ddc056
Manual; Tweaked section about template recursion
2020-06-26 12:39:55 +02:00
Daniel Marjamäki
c21b5b1aa4
manual; template recursion
2020-06-24 20:47:12 +02:00
Daniel Marjamäki
fdb8cbdb8c
manual; extend description of --std
2020-06-22 20:10:03 +02:00
orbitcowboy
86e64f6224
Integrated PR #2679 into main
2020-06-15 20:11:20 +02:00