Daniel Marjamäki
42437277dc
Update Copyright year
2021-03-21 20:58:32 +01:00
Oliver Stöneberg
491f4874c5
fixed/aligned some compiler warnings ( #3065 )
2021-01-21 18:13:32 +01:00
Daniel Marjamäki
2530b36d9d
Fixed Cppcheck warning; different argument names
2020-12-04 18:53:17 +01:00
Daniel Marjamäki
208a4a4548
Check unused templates by default
2020-11-23 18:29:08 +01:00
Bernd Buschinski
db3d9a79b5
Fix addons for installed cppcheck ( #2873 )
...
- getAddonFilePath is used with getDataDir, this works fine
for a local build cppcheck, but not for a system installed one.
As getDataDir reports the location relative to the executable (/usr/bin/)
and the addons are localed in FILESDIR (/usr/share/cppcheck).
Extend the search path by FILESDIR/addons to also make it work for
the installed cppcheck version.
2020-11-01 15:11:28 +01:00
Oliver Stöneberg
1077b0d2a6
small compileroptions.cmake cleanup ( #2817 )
...
* compileroptions.cmake: moved common warnings to proper scope and aligned them with other build systems / fixed some -Wrange-loop-construct clang warnings
* compileroptions.cmake: use check_cxx_compiler_flag() via add_compile_options_safe() helper to avoid compiler version checks
2020-09-21 19:41:28 +02:00
Daniel Marjamäki
6277eece67
Variable contracts
2020-08-24 20:57:49 +02:00
Daniel Marjamäki
4ab04db53c
Rename 'cppcheckID' to 'hash'
2020-07-21 11:27:03 +02:00
Daniel Marjamäki
2713474f56
Fixed Cppcheck warning
2020-07-17 12:25:06 +02:00
Daniel Marjamäki
9af288e1dd
Fixed #9724 (GUI: The tags do not work anymore)
2020-07-16 23:03:54 +02:00
Daniel Marjamäki
bec78a0960
GUI: Adding suppression with cppcheckId; include all relevant fields
2020-07-16 16:36:55 +02:00
Daniel Marjamäki
6ab4f39f52
GUI: Suppress cppcheck-id
2020-07-15 13:03:07 +02:00
Daniel Marjamäki
c5f9e85ee7
GUI: Add configuration for max recursion in template instantiation
2020-06-26 17:12:02 +02:00
Daniel Marjamäki
23999fece5
Try to make Travis happy
2020-05-17 23:14:47 +02:00
Daniel Marjamäki
547d1b158e
Fixed #9723 (GUI: inline suppressions does not work for addons)
2020-05-17 16:50:13 +02:00
Daniel Marjamäki
08ddd84780
Update copyright year
2020-05-10 11:16:32 +02:00
Daniel Marjamäki
3e0218299b
Revert "Update copyright year"
...
This reverts commit 6eec6c4bd5
.
2020-05-10 11:13:05 +02:00
Daniel Marjamäki
6eec6c4bd5
Update copyright year
2020-05-10 11:11:34 +02:00
Daniel Marjamäki
f7096a2232
Bug hunting: basic handling of contracts through GUI
2020-04-27 09:08:50 +02:00
Oliver Stöneberg
2c1e36e63e
cleaned up includes based on include-what-you-use ( #2600 )
...
* cleaned up includes based on include-what-you-use
* check.h: trying to work around Visual Studio 2012 bug
* fixed Visual Studio compilation
2020-04-13 13:44:48 +02:00
Oliver Stöneberg
91beccb304
fixed some clang-tidy warnings in gui code ( #2565 )
2020-03-07 11:33:08 +01:00
Daniel Marjamäki
bb701fd8be
GUI: Tweak ProjectFileDialog: Bug hunting, safe class checking
2020-02-09 21:02:28 +01:00
Daniel Marjamäki
25b5304efc
GUI: Simple first hack to allow bughunting in the GUI
2020-02-04 21:20:43 +01:00
Daniel Marjamäki
632dc0f141
GUI: Select parser; Cppcheck or Clang
2020-02-02 10:45:42 +01:00
fuzzelhjb
074d08e39e
Check specific Visual Studio configurations ( #2503 )
2020-01-31 07:08:38 +01:00
Paul Fultz II
ad8abdb0c3
Add impossible values to ValueFlow ( #2186 )
...
* Add impossible category
* Replace values
* Try to adjust known values
* Add ! for impossible values
* Add impossible with possible values
* Remove contradictions
* Add values when the branch is not dead
* Only copy possible values
* Dont bail on while loops
* Load std lib in valueflow
* Check for function calls
* Fix stl errors
* Fix incorrect impossible check
* Fix heap-after-use error
* Remove impossible values when they are lowered
* Show the bound and remove overlaps
* Infer conditions
* Dont push pointer values through dynamic_cast
* Add test for dynamic_cast issue
* Add shifttoomanybits test
* Add test for div by zero
* Add a test for issue 9315
* Dont make impossible value inconclusive
* Fix FP with shift operator
* Improve handleKnownValuesInLoop for impossible values
* Fix cppcheck warning
* Fix impossible values for ctu
* Bailout for streams
* Check equality conditions
* Fix overflows
* Add regression test for 9332
* Remove duplicate conditions
* Skip impossible values for invalid value
* Check for null
* Rename bound to range
* Formatting
2019-09-20 15:06:37 +02:00
Daniel Marjamäki
6c55d27f19
Fixed #9240 (GUI: Issue with file names in suppressions (undesired expansion to full path))
2019-08-11 15:53:23 +02:00
Daniel Marjamäki
0fbbe2ff23
Refactor load/write of cppcheck project. Reuse same string constants in cli and gui.
2019-08-09 21:15:02 +02:00
Daniel Marjamäki
681bd0a911
GUI: Better settings for extended safe checks
2019-07-23 11:54:38 +02:00
Daniel Marjamäki
4a70208e0e
GUI: Activate 'human knowledge' options
2019-07-11 21:05:52 +02:00
Daniel Marjamäki
84cc09d17c
Update Copyright
2019-06-29 07:49:14 +02:00
Daniel Marjamäki
3327102aa4
GUI: Test ProjectFile::getCheckSuppressions()
2019-04-19 15:09:55 +02:00
Daniel Marjamäki
dfe417c369
msvc compatibility: /constexpr/const/
2019-04-11 21:06:37 +02:00
Daniel Marjamäki
3c1f6ae5c2
appveyor: /constexpr/const/
2019-04-10 21:27:07 +02:00
Daniel Marjamäki
37c540b380
Use constexpr
2019-04-10 16:54:16 +02:00
Daniel Marjamäki
f6b410b469
GUI: add setting for 'checkHeaders', 'checkUnusedTemplates' and 'maxCtuDepth' to project
2019-04-10 16:49:24 +02:00
alex
babafd75e3
Added support for -U option to the GUI.
2018-10-09 15:05:05 +02:00
Daniel Marjamäki
a0906140a6
Suppressions: New extensible Suppressions xml format that allow more attributes. To start with it also allows symbolName.
2018-04-09 06:43:48 +02:00
Daniel Marjamäki
7e4dba6a7e
Updated copyright year
2018-03-31 20:59:09 +02:00
Daniel Marjamäki
9800e82d13
GUI: Allow that platform is selected in project dialog
2018-03-13 13:07:10 +01:00
Daniel Marjamäki
c4caee6b18
Updated copyright year
2018-01-14 15:37:52 +01:00
Daniel Marjamäki
791f6ecbec
GUI: Add 'Clang Analyzer' option
2017-09-22 18:57:53 +02:00
Daniel Marjamäki
6ddcfc3d1c
GUI: Updated handling of clang and clang-tidy
2017-09-22 15:41:27 +02:00
Daniel Marjamäki
330ceccdc9
GUI: Rework handling of tags. The allowed tags are now userdefined in the project file
2017-08-18 17:25:08 +02:00
Daniel Marjamäki
018d59b393
GUI: Fix bug when loading project file
2017-08-10 11:15:18 +02:00
Daniel Marjamäki
0561d59d28
GUI: Added checkbox 'Analyze all Visual Studio configurations' in the projectfile dialog
2017-08-10 00:18:04 +02:00
PKEuS
b4cf79f1b7
GUI: Refactorizations
2017-08-03 12:43:44 +02:00
Daniel Marjamäki
dfc48be70e
Fixed #2363 (GUI: Using addons in the checking)
2017-08-03 12:30:28 +02:00
Daniel Marjamäki
037fc6e3a4
GUI: Remove Project class
2017-07-31 12:02:51 +02:00
Daniel Marjamäki
8d704f7709
GUI: Rename methods in ProjectFile
2017-07-28 05:08:59 +02:00