PKEuS
|
141d2ac215
|
Refactorization: Improved internal implementation of severity and certainty levels
Backported from LCppC.
|
2021-02-24 22:00:06 +01:00 |
PKEuS
|
1a7595e29b
|
Bugfix: Apply --relative-paths also to preprocessor errors
Merged from LCppC
|
2021-02-18 22:35:55 +01:00 |
Daniel Marjamäki
|
68537e4fc3
|
Fixed #9867 (No dump file is generated (clang))
|
2021-02-06 19:06:05 +01:00 |
Oliver Stöneberg
|
fbf5858f76
|
fixed and enabled several clang-tidy warnings (#2816)
|
2021-01-02 19:10:25 +01:00 |
Daniel Marjamäki
|
f37274a5c0
|
ClangImport: Improved error handling
|
2020-12-31 17:37:14 +01:00 |
Daniel Marjamäki
|
1e9f67936e
|
Cppcheck: Fix; Do not run clang twice
|
2020-12-29 12:43:21 +01:00 |
Daniel Marjamäki
|
7719b27e44
|
Cppcheck: Print clang command when --verbose is used and build dir is empty
|
2020-12-29 10:20:46 +01:00 |
Daniel Marjamäki
|
2898a2925d
|
Cppcheck: Using both --clang and --project
|
2020-12-29 10:15:38 +01:00 |
Daniel Marjamäki
|
b94a6d595a
|
Fixed #9295 (ValueFlow: Does not handle noreturn function)
|
2020-12-28 20:00:35 +01:00 |
Daniel Marjamäki
|
e7c462b827
|
Refactoring; Avoid 'unsigned'
|
2020-12-27 21:05:31 +01:00 |
Paul Fultz II
|
bf00d521d7
|
Show which rules are being processed (#2916)
|
2020-11-22 08:46:50 +01:00 |
Daniel Marjamäki
|
b7f812739c
|
astyle formatting
|
2020-11-13 15:52:57 +01:00 |
Falital
|
2e2d4a0055
|
Added Hash to plist file names (#2898)
|
2020-11-13 15:52:24 +01:00 |
Jesse Boswell
|
f70e8de315
|
Fix #9567 (Inline suppression of unusedFunction errors not working when using compile database) (#2870)
|
2020-11-04 21:01:48 +01:00 |
Oliver Stöneberg
|
7189b303ae
|
fixed some modernize-loop-convert clang-tidy warnings (#2815)
|
2020-09-21 19:30:47 +02:00 |
Daniel Marjamäki
|
c7aed8bd0e
|
astyle formatting
|
2020-09-06 07:47:17 +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
|
7d01ad5b50
|
add test-clang-import that compares symboldatabases
|
2020-09-04 15:29:19 +02:00 |
Daniel Marjamäki
|
d23fd26ce0
|
Cppcheck: Try to fix addon problems when paths have spaces
|
2020-08-30 18:15:48 +02:00 |
Daniel Marjamäki
|
0583763cc6
|
Fixed #3088 (False positive: Dont report "struct or union member is never used" for structs with __attribute__((packed)) or #pragma pack(push))
|
2020-06-30 11:00:40 +02:00 |
Paul Fultz II
|
eed2e829a7
|
Revert "Cleanup: Removed Tokenizer::simplifyTokenList2. As a side-effect, rules for "simple" token list are now executed on normal token list." (#2666)
This reverts commit 187cde183d .
|
2020-05-30 11:23:22 +02:00 |
PKEuS
|
187cde183d
|
Cleanup: Removed Tokenizer::simplifyTokenList2. As a side-effect, rules for "simple" token list are now executed on normal token list.
|
2020-05-29 21:21:07 +02:00 |
Daniel Marjamäki
|
eb9576cdf8
|
CLI: 'simple' rules are deprecated, support will be removed in Cppcheck-2.5
|
2020-05-29 14:20:46 +02:00 |
Daniel Marjamäki
|
208e2c7fdf
|
Clang parser; only set cpp std if path is c++
|
2020-05-27 21:06:27 +02:00 |
Daniel Marjamäki
|
60c7b66636
|
Clang import; do not use FileSettings::cppcheckDefines() when Clang parser is used
|
2020-05-26 20:46:41 +02:00 |
Daniel Marjamäki
|
d70911c801
|
ImportProject: Read --std settings from vcxproj file
|
2020-05-25 21:43:24 +02:00 |
Daniel Marjamäki
|
31324573fa
|
Clang import; Update ast dump flags. Use -Xclang.
|
2020-05-24 10:52:43 +02:00 |
Daniel Marjamäki
|
4e2f8d5d48
|
astyle formatting
[ci skip]
|
2020-05-23 07:30:22 +02:00 |
Oliver Stöneberg
|
37bc0483a4
|
made check.h less heavy (#2633)
|
2020-05-23 07:16:49 +02:00 |
Ken-Patrick Lehrmann
|
79d3f488da
|
Pass defines flags when calling clang (#2651)
|
2020-05-20 14:56:55 +02:00 |
Daniel Marjamäki
|
64291c6b61
|
fix Clang execution
|
2020-05-19 19:17:23 +02:00 |
Daniel Marjamäki
|
32e569704b
|
executeCommand in CppCheckExecutor or QCheckThread
|
2020-05-19 16:04:40 +02:00 |
PKEuS
|
c9d8f607df
|
Optimization: Reduced peak memory usage (30% in my test case) by immediately deleting simplecpp::TokenList while creating the cppcheck TokenList.
|
2020-05-19 12:08:17 +02:00 |
Daniel Marjamäki
|
37646c9ffb
|
revert accidental mode changes
|
2020-05-19 10:05:14 +02:00 |
PKEuS
|
f0ac0c8675
|
Optimization: Remove simplecpp::TokenList as soon as cppecheck TokenList was created. This saves memory while checks are running (20% in my test case), although not peak memory
|
2020-05-19 08:41:05 +02:00 |
Daniel Marjamäki
|
65e9f6210c
|
CLI: Tweak execution of python addons
|
2020-05-19 08:14:56 +02:00 |
Daniel Marjamäki
|
f6f489ea49
|
Try to make AppVeyor happy
|
2020-05-18 09:51:47 +02:00 |
Daniel Marjamäki
|
aa7a4b8372
|
Try to make AppVeyor happy
|
2020-05-18 08:24:17 +02:00 |
Daniel Marjamäki
|
a0f2fda53a
|
Addons: If normal python fails, try 'python'
|
2020-05-18 07:44:46 +02:00 |
Daniel Marjamäki
|
2ef538c171
|
Tweak paths when executing addons in Cppcheck
|
2020-05-17 21:45:37 +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
|
387f0a268b
|
Clang import: Better bailout for syntax errors when build dir is not used
|
2020-04-22 10:27:44 +02:00 |
Daniel Marjamäki
|
05dcb9a435
|
Clang import; Allow Clang import without a Cppcheck build dir
|
2020-04-21 22:26:34 +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 |
Daniel Marjamäki
|
e1543587e0
|
Clang import; Bailout if clang reports error message
|
2020-04-13 12:52:24 +02:00 |
Daniel Marjamäki
|
189cf29597
|
astyle formatting
[ci skip]
|
2020-04-05 10:57:51 +02:00 |
Sam Lane
|
60f9fefcd4
|
Add Support For Configuring Addon Python Interpreter Version (#2591)
|
2020-04-05 10:57:28 +02:00 |