chrchr-github
|
a658baf962
|
Fix #11143 FP: unreadVariable (remove simplifyMathExpressions()) (#4227)
* Fix #11143 FP: unreadVariable (remove simplifyMathExpressions())
* Remove unused function, tests
|
2022-06-21 15:42:23 +02:00 |
PKEuS
|
9eb16e1002
|
Replaced check for pipe() buffer size by ordinary CheckBufferOverrun, provide required Library configuration option (#4183)
Merged from LCppC.
|
2022-06-19 12:01:55 +02:00 |
Daniel Marjamäki
|
6873f5237b
|
Tokenizer: removing more stuff from simplifyTokenList2
|
2022-06-19 10:41:15 +02:00 |
Daniel Marjamäki
|
a7815ed5b0
|
Tokenizer: Remove more stuff from simplifyTokenList2
|
2022-06-18 07:31:36 +02:00 |
Daniel Marjamäki
|
aa8c17a701
|
Tokenizer: remove stuff from simplifyTokenList2
|
2022-06-17 09:44:58 +02:00 |
Daniel Marjamäki
|
dbb12cb333
|
Tokenizer: Remove some functions from simplifyTokenList2
|
2022-06-16 14:06:07 +02:00 |
Daniel Marjamäki
|
343d04feb4
|
Tokenizer: Remove simplifyCharAt from simplifyTokenList2
|
2022-06-12 15:14:48 +02:00 |
PKEuS
|
99ce89c003
|
Improvement: Set varId for variables with global scope operator :: Refactorization: Moved internal class from tokenize.h to tokenize.cpp (#4184)
Merged from LCppC.
|
2022-06-11 08:11:16 +02:00 |
Daniel Marjamäki
|
375880988c
|
Tokenizer: remove removeRedundantAssignment from simplifyTokenList2
|
2022-06-10 12:35:05 +02:00 |
Daniel Marjamäki
|
a76ba698c2
|
Tokenizer: remove simplifyCompoundAssignment from simplifyTokenList2
|
2022-06-09 07:38:27 +02:00 |
Daniel Marjamäki
|
c0f3d5b2fb
|
Tokenizer: remove simplifyAssignmentInFunctionCall used in simplifyTokenList2
|
2022-06-08 19:08:18 +02:00 |
Daniel Marjamäki
|
86a8d88729
|
Tokenizer: Remove simplification of math functions from simplifyTokenList2
|
2022-06-08 09:58:11 +02:00 |
Paul Fultz II
|
e430a11b49
|
Add debug_valueflow instrinsic to show valueflow values and its error path (#4159)
* Add debug_valueflow instrinsic to show valueflow values and its error path
* Format
|
2022-06-01 06:53:21 +02:00 |
chrchr-github
|
e7e8b1baf9
|
Fix #9861 FN: "static" not suggested for non-const method (#4101)
* Fix #9861 FN: "static" not suggested for non-const method
* Format
* Make functions static
* static
|
2022-05-11 20:01:22 +02:00 |
chrchr-github
|
e9a0d7979e
|
Fix #11014 FN redundantPointerOp / remove simplifyMulAndParens() (#4062)
|
2022-05-01 15:46:07 +02:00 |
Oliver Stöneberg
|
6e57cc4323
|
small utils.h cleanup (#3821)
|
2022-02-11 19:44:08 +01:00 |
Daniel Marjamäki
|
3989408738
|
Update copyright year
|
2022-02-05 11:45:17 +01:00 |
Oliver Stöneberg
|
171da2e6f9
|
avoid dependency on transitive includes - based on include-what-you-use (#3757)
|
2022-01-27 19:03:20 +01:00 |
Oliver Stöneberg
|
6739995e79
|
removed or annotated some code which is only used in test code (#3656)
|
2022-01-03 12:40:20 +01:00 |
Oliver Stöneberg
|
ba402f3e50
|
cleaned up includes based on include-what-you-use (#3627)
|
2021-12-15 19:47:27 +01:00 |
Paul Fultz II
|
7f358b2bed
|
Format with uncrustify (#3388)
|
2021-08-07 20:51:18 +02:00 |
Daniel Marjamäki
|
13d55c7060
|
misra; implement rule 2.3
|
2021-07-07 15:16:53 +02:00 |
Daniel Marjamäki
|
9172f2ab3b
|
addons; add CTU infrastructure
|
2021-07-07 10:58:13 +02:00 |
Daniel Marjamäki
|
abb4200316
|
Fixed #10196 ("Unhandled char constant 'x'" with non-standard escape character)
|
2021-05-08 12:54:18 +02:00 |
dummyunit
|
da27159d7c
|
Fixed #9728 (Support function level try blocks)
|
2021-05-02 09:05:12 +02:00 |
Daniel Marjamäki
|
9b717b8835
|
Refactoring __attribute__ simplification
|
2021-05-01 11:39:26 +02:00 |
DGarry82
|
d3035c246f
|
Attribute lists support (#3239)
|
2021-05-01 07:33:55 +02:00 |
Daniel Marjamäki
|
28a7bb63ec
|
Parser; simplify (break out) init expression from if/switch/range-for
|
2021-04-25 14:37:27 +02:00 |
Oliver Stöneberg
|
dcc90c6dfa
|
improved compiler warnings about missing attributes (#3232)
|
2021-04-25 12:52:09 +02:00 |
Daniel Marjamäki
|
26c0945309
|
Handle c++20 spaceship operator
|
2021-04-22 19:15:22 +02:00 |
Daniel Marjamäki
|
56773b82c4
|
Simple handling of coroutines
|
2021-04-18 19:42:22 +02:00 |
Daniel Marjamäki
|
11f828a669
|
Fixed #9415 (C++11: `alignas` not handled -> wrong code -> false negatives)
|
2021-04-15 20:26:53 +02:00 |
Daniel Marjamäki
|
42437277dc
|
Update Copyright year
|
2021-03-21 20:58:32 +01:00 |
Oliver Stöneberg
|
ac7647fcd8
|
some self-check suppression cleanups (#3032)
|
2021-01-09 20:32:38 +01:00 |
Daniel Marjamäki
|
37a5ec8cd5
|
Summaries: Moved to its own files
|
2020-12-20 19:53:58 +01:00 |
Daniel Marjamäki
|
96caaedbd5
|
Generate basic function summaries
|
2020-12-19 19:02:42 +01:00 |
Daniel Marjamäki
|
8a1c16a560
|
Tokenizer: add daca debug messages when right angle brackets in templates are not handled well
|
2020-11-29 16:07:56 +01:00 |
Daniel Marjamäki
|
fd75837494
|
Tokenizer: Remove extra 'template' keywords
|
2020-11-28 21:57:06 +01:00 |
Daniel Marjamäki
|
2cd8ea83a7
|
Fixed #9860 (unused template not removed properly by default)
|
2020-11-22 16:43:36 +01:00 |
Daniel Marjamäki
|
54a93c4374
|
Fixed #9452 (FP syntaxError - _Pragma before struct with two constructors)
|
2020-11-15 15:03:47 +01:00 |
Daniel Marjamäki
|
136ac2c643
|
Fixed #9266 (handle operator() better)
|
2020-09-06 21:02:06 +02:00 |
Daniel Marjamäki
|
ddd21a260f
|
Fixed #6978 (False positive: unusedLabel shown for labels that are used in some preprocessor configurations)
|
2020-06-30 18:26:24 +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
|
c76c03c711
|
Replace noreturn with macro
|
2020-06-29 15:54:51 -05:00 |
Paul
|
a412e3e1f1
|
Mark syntax error functions as noreturn
|
2020-06-29 15:33:25 -05: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
|
67115491ea
|
Fixed #9739 (Tokenizer: simplifyTypedef: wrong simplification in using)
|
2020-05-29 11:16:49 +02:00 |
Oliver Stöneberg
|
37bc0483a4
|
made check.h less heavy (#2633)
|
2020-05-23 07:16:49 +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 |