..
CMakeLists.txt
added CMake option `BUILD_CORE_DLL` to build lib as `cppcheck-core.dll` with Visual Studio ( #4733 )
2023-01-26 22:13:07 +01:00
analyzer.h
Revert "Revert "Skip forwarding values for unique expressions ( #5103 )"" ( #5124 )
2023-06-07 11:11:48 +02:00
analyzerinfo.cpp
avoid some unchecked pointer dereferences ( #4811 )
2023-03-02 22:05:41 +01:00
analyzerinfo.h
avoid some unchecked pointer dereferences ( #4811 )
2023-03-02 22:05:41 +01:00
astutils.cpp
Don't suggest const for smartptr::get() ( #5126 )
2023-06-07 20:45:48 +02:00
astutils.h
Add non-const overloads for next(), previous(), and link() ( #5002 )
2023-05-02 06:55:31 +02:00
calculate.h
Fix 11053: Integer division by zero in calculate.h ( #4092 )
2022-05-09 20:27:32 +02:00
check.cpp
cleaned up includes based on `include-what-you-use` ( #4599 )
2023-03-02 21:50:14 +01:00
check.h
Update copyright year
2023-01-28 10:16:34 +01:00
check64bit.cpp
Update copyright year
2022-02-05 11:45:17 +01:00
check64bit.h
Update copyright year
2022-05-21 12:18:27 +02:00
checkassert.cpp
Update copyright year
2023-01-28 10:16:34 +01:00
checkassert.h
Update copyright year
2022-05-21 12:18:27 +02:00
checkautovariables.cpp
Fix FP autoVariables ( #5107 )
2023-06-10 16:28:29 +02:00
checkautovariables.h
Update copyright year
2023-01-28 10:16:34 +01:00
checkbool.cpp
Update copyright year
2023-01-28 10:16:34 +01:00
checkbool.h
Update copyright year
2023-01-28 10:16:34 +01:00
checkboost.cpp
Update copyright year
2022-02-05 11:45:17 +01:00
checkboost.h
Update copyright year
2022-05-21 12:18:27 +02:00
checkbufferoverrun.cpp
Fix #11225 FN constParameter with cast ( #5100 )
2023-05-31 16:51:03 +02:00
checkbufferoverrun.h
Update copyright year
2023-01-28 10:16:34 +01:00
checkclass.cpp
Fix #11744 FN functionConst/functionStatic with recursion ( #5105 )
2023-06-02 23:33:42 +02:00
checkclass.h
Fix #11744 FN functionConst/functionStatic with recursion ( #5105 )
2023-06-02 23:33:42 +02:00
checkcondition.cpp
Fix #11679 FP knownArgument with known return value ( #5007 )
2023-04-28 08:27:48 +02:00
checkcondition.h
Update copyright year
2023-01-28 10:16:34 +01:00
checkexceptionsafety.cpp
cleaned up includes based on `include-what-you-use` ( #4599 )
2023-03-02 21:50:14 +01:00
checkexceptionsafety.h
cleaned up includes based on `include-what-you-use` ( #4599 )
2023-03-02 21:50:14 +01:00
checkfunctions.cpp
Detect container action and yield functions ( #5117 )
2023-06-09 16:03:47 +02:00
checkfunctions.h
Update copyright year
2023-01-28 10:16:34 +01:00
checkinternal.cpp
cleaned up includes based on `include-what-you-use` ( #4599 )
2023-03-02 21:50:14 +01:00
checkinternal.h
Update copyright year
2023-01-28 10:16:34 +01:00
checkio.cpp
cleaned up includes based on `include-what-you-use` ( #5021 )
2023-04-30 07:33:19 +02:00
checkio.h
Update copyright year
2023-01-28 10:16:34 +01:00
checkleakautovar.cpp
Fix #11758 Regression: memleak / Fix #11746 FN: deallocuse ( #5139 )
2023-06-10 00:24:36 +02:00
checkleakautovar.h
Fix #9279 Missing --check-library warning when memory leaks check assumes function is noreturn ( #4937 )
2023-04-06 18:44:03 +02:00
checkmemoryleak.cpp
Remove hardcoded whitelist ( #5063 )
2023-06-01 14:45:41 +02:00
checkmemoryleak.h
Remove hardcoded whitelist ( #5063 )
2023-06-01 14:45:41 +02:00
checknullpointer.cpp
Fix #11225 FN constParameter with cast ( #5100 )
2023-05-31 16:51:03 +02:00
checknullpointer.h
Update copyright year
2023-01-28 10:16:34 +01:00
checkother.cpp
Fix scope for function returning rvalue reference, insert std:: in return statement ( #5119 )
2023-06-08 07:47:21 +02:00
checkother.h
Update copyright year
2023-01-28 10:16:34 +01:00
checkpostfixoperator.cpp
Update copyright year
2022-02-05 11:45:17 +01:00
checkpostfixoperator.h
Update copyright year
2022-05-21 12:18:27 +02:00
checksizeof.cpp
cleaned up includes based on `include-what-you-use` ( #4599 )
2023-03-02 21:50:14 +01:00
checksizeof.h
Update copyright year
2023-01-28 10:16:34 +01:00
checkstl.cpp
Fix #11547 FN stlcstrConstructor, stlcstrAssignment with std::stringview ( #5097 )
2023-05-31 16:51:37 +02:00
checkstl.h
Fix #11547 FN stlcstrConstructor, stlcstrAssignment with std::stringview ( #5097 )
2023-05-31 16:51:37 +02:00
checkstring.cpp
Fix #11166 inefficient way to remove last character from std::string ( #4267 )
2022-07-11 23:07:37 +02:00
checkstring.h
Update copyright year
2023-01-28 10:16:34 +01:00
checktype.cpp
avoid some unnecessary code execution ( #4962 )
2023-04-28 12:42:51 +02:00
checktype.h
avoid some unchecked pointer dereferences ( #4811 )
2023-03-02 22:05:41 +01:00
checkuninitvar.cpp
Fix #11225 FN constParameter with cast ( #5100 )
2023-05-31 16:51:03 +02:00
checkuninitvar.h
Fix #11654 FN functionConst if only non-const member usage is call to itself ( #5092 )
2023-05-26 17:24:13 +02:00
checkunusedfunctions.cpp
#11733 FP unusedFunction with templates and --cppcheck-build-dir ( #5085 )
2023-05-26 06:13:48 +02:00
checkunusedfunctions.h
Update copyright year
2023-01-28 10:16:34 +01:00
checkunusedvar.cpp
Suppress unused struct members from types expanded from macros ( #5087 )
2023-05-26 17:48:49 +02:00
checkunusedvar.h
Fix #551 Detect unused Private member variables ( #4973 )
2023-04-17 20:34:39 +02:00
checkvaarg.cpp
Update copyright year
2023-01-28 10:16:34 +01:00
checkvaarg.h
Update copyright year
2022-05-21 12:18:27 +02:00
clangimport.cpp
Fix FN constVariablePointer ( #5076 )
2023-05-22 19:53:51 +02:00
clangimport.h
LCppC backports: Refactorizations/Optimizations ( #4204 )
2022-08-21 17:21:02 +02:00
color.cpp
optimized template string substitutions a bit ( #4840 )
2023-04-08 22:19:52 +02:00
color.h
fixed some CLion inspection warnings ( #4688 )
2023-04-28 16:02:41 +02:00
config.h
Update copyright year
2023-01-28 10:16:34 +01:00
cppcheck.cpp
Cppcheck: change severity from information to error for internalError ( #5133 )
2023-06-08 23:31:36 +02:00
cppcheck.h
moved more code into `HAVE_RULES` ( #4956 )
2023-05-04 10:54:19 +02:00
cppcheck.natvis
added .gitattributes and normalized files ( #4668 )
2022-12-30 21:33:45 +01:00
cppcheck.vcxproj
added clean C/C++ keyword lists and use them in `TokenList` ( #3774 )
2023-02-24 21:43:27 +01:00
cppcheck.vcxproj.filters
extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` ( #4642 )
2023-01-26 22:23:22 +01:00
ctu.cpp
Fix ctuuninitvar false positive for struct that is partly initialized
2023-03-13 20:55:11 +01:00
ctu.h
fixed some `-Wdeprecated-copy-dtor` Clang compiler warnings ( #4836 )
2023-03-02 21:02:29 +01:00
errorlogger.cpp
cleaned up includes based on `include-what-you-use` ( #5021 )
2023-04-30 07:33:19 +02:00
errorlogger.h
optimized template string substitutions a bit ( #4840 )
2023-04-08 22:19:52 +02:00
errortypes.cpp
enabled and fixed `modernize-pass-by-value` clang-tidy warnings ( #4169 )
2022-07-28 22:51:45 +02:00
errortypes.h
removed `experimental` and `safe` from `Certainty` ( #4819 )
2023-03-12 14:15:29 +01:00
forwardanalyzer.cpp
Revert "Revert "Skip forwarding values for unique expressions ( #5103 )"" ( #5124 )
2023-06-07 11:11:48 +02:00
forwardanalyzer.h
made `ForwardTraversal::mSettings` and `ReverseTraversal::mSettings` references / adjusted some calling code to use references as well ( #4858 )
2023-03-07 12:26:17 +01:00
fwdanalysis.cpp
Fix #11728 FP unreadVariable with brace-init ( #5075 )
2023-05-23 20:21:02 +02:00
fwdanalysis.h
Update copyright year
2023-01-28 10:16:34 +01:00
importproject.cpp
Fix #11727 Limit check to selected VS configurations does not work ( #5072 )
2023-05-23 12:44:03 +02:00
importproject.h
Fix #11727 Limit check to selected VS configurations does not work ( #5072 )
2023-05-23 12:44:03 +02:00
infer.cpp
Fix 11669: Assert failure in infer.cpp ( #4982 )
2023-04-18 18:35:25 +02:00
infer.h
fixed some `-Wdeprecated-copy-dtor` Clang compiler warnings ( #4836 )
2023-03-02 21:02:29 +01:00
keywords.cpp
keywords.cpp: fixed accidental omissions in C++03 keywords / added missing keywords in latest standards ( #4825 )
2023-02-25 00:19:04 +01:00
keywords.h
added clean C/C++ keyword lists and use them in `TokenList` ( #3774 )
2023-02-24 21:43:27 +01:00
lib.pri
added clean C/C++ keyword lists and use them in `TokenList` ( #3774 )
2023-02-24 21:43:27 +01:00
library.cpp
Detect container action and yield functions ( #5117 )
2023-06-09 16:03:47 +02:00
library.h
Remove hardcoded lists of functions/templates/types ( #5069 )
2023-05-28 14:33:41 +02:00
matchcompiler.h
Update copyright year
2021-09-26 11:34:56 +02:00
mathlib.cpp
Support integer Z suffix and user defined literals with _ suffix ( #10807 , #11438 ) ( #5130 )
2023-06-08 20:03:41 +02:00
mathlib.h
do not use string-to-integer conversions without error handling ( #4906 )
2023-04-08 22:29:09 +02:00
path.cpp
Use path to executable when trying to load library ( #5082 )
2023-05-26 06:55:36 +02:00
path.h
Use path to executable when trying to load library ( #5082 )
2023-05-26 06:55:36 +02:00
pathanalysis.cpp
made some member functions static ( #4966 )
2023-04-28 12:29:40 +02:00
pathanalysis.h
made some member functions static ( #4966 )
2023-04-28 12:29:40 +02:00
pathmatch.cpp
Update copyright year
2023-01-28 10:16:34 +01:00
pathmatch.h
enabled and fixed `modernize-pass-by-value` clang-tidy warnings ( #4169 )
2022-07-28 22:51:45 +02:00
pcrerules.pri
…
platform.cpp
made `Platform` a member of `Settings` instead of inheriting from it / cleanups ( #4791 )
2023-03-03 18:36:27 +01:00
platform.h
made `Platform` a member of `Settings` instead of inheriting from it / cleanups ( #4791 )
2023-03-03 18:36:27 +01:00
precompiled.h
cleaned up includes based on `include-what-you-use` ( #4599 )
2023-03-02 21:50:14 +01:00
preprocessor.cpp
dump file: fix xml format error in <macro> ( #5095 )
2023-05-30 14:51:11 +02:00
preprocessor.h
fixed some CLion inspection warnings ( #4688 )
2023-04-28 16:02:41 +02:00
programmemory.cpp
Partial fix for #11131 FN variableScope with const member functions ( #5027 )
2023-05-03 10:02:16 +02:00
programmemory.h
fixed some CLion inspection warnings ( #4688 )
2023-04-28 16:02:41 +02:00
reverseanalyzer.cpp
Revert "Revert "Skip forwarding values for unique expressions ( #5103 )"" ( #5124 )
2023-06-07 11:11:48 +02:00
reverseanalyzer.h
fixed some CLion inspection warnings ( #4688 )
2023-04-28 16:02:41 +02:00
settings.cpp
Revert "ValueFlow: Set max iterations to 2 in normal analysis ( #4951 )"
2023-05-07 18:28:01 +02:00
settings.h
moved more code into `HAVE_RULES` ( #4956 )
2023-05-04 10:54:19 +02:00
smallvector.h
Update copyright year
2023-01-28 10:16:34 +01:00
sourcelocation.h
Update copyright year
2023-01-28 10:16:34 +01:00
standards.h
added (partial) support for specifying C++23 and support more "-std" options ( #3212 )
2022-04-15 16:17:36 +02:00
summaries.cpp
fixed and enabled `performance-faster-string-find` clang-tidy warning ( #4769 )
2023-02-08 21:01:51 +01:00
summaries.h
Format with uncrustify ( #3388 )
2021-08-07 20:51:18 +02:00
suppressions.cpp
Suppressions: some cleanups ( #4980 )
2023-05-04 18:15:18 +02:00
suppressions.h
Suppressions: some cleanups ( #4980 )
2023-05-04 18:15:18 +02:00
symboldatabase.cpp
Fix scope for function returning rvalue reference, insert std:: in return statement ( #5119 )
2023-06-08 07:47:21 +02:00
symboldatabase.h
Fix scope for function returning rvalue reference, insert std:: in return statement ( #5119 )
2023-06-08 07:47:21 +02:00
templatesimplifier.cpp
Fix FN constVariablePointer ( #5076 )
2023-05-22 19:53:51 +02:00
templatesimplifier.h
Fix #11489 Crash in TemplateSimplifier ( #5020 )
2023-04-30 07:33:04 +02:00
timer.cpp
Fixed #11715 (Add --showtime=file-total option to show checking time of each file) ( #5049 )
2023-05-11 14:04:22 +02:00
timer.h
Fixed #11715 (Add --showtime=file-total option to show checking time of each file) ( #5049 )
2023-05-11 14:04:22 +02:00
token.cpp
Fix #11063 FP unreadVariable with extra parentheses and scope operator ( #5122 )
2023-06-07 20:45:27 +02:00
token.h
Revert "Revert "Skip forwarding values for unique expressions ( #5103 )"" ( #5124 )
2023-06-07 11:11:48 +02:00
tokenize.cpp
Fix #11275 internalAstError on C++20 templated lambda / Fix #11400 internalAstError on nested lambda ( #5134 )
2023-06-10 07:42:10 +02:00
tokenize.h
Fix #11654 FN functionConst if only non-const member usage is call to itself ( #5092 )
2023-05-26 17:24:13 +02:00
tokenlist.cpp
Fix #11275 internalAstError on C++20 templated lambda / Fix #11400 internalAstError on nested lambda ( #5134 )
2023-06-10 07:42:10 +02:00
tokenlist.h
Partial fix for #11378 internalAstError regressions (iscpp11init) ( #4889 )
2023-03-13 16:30:27 +01:00
tokenrange.h
Update copyright year
2023-01-28 10:16:34 +01:00
utils.cpp
iwyu.yml: use a distro which has the latest `include-what-you-use` / enabled Qt mappings / cleaned up includes ( #4885 )
2023-04-08 16:08:47 +02:00
utils.h
do not use string-to-integer conversions without error handling ( #4906 )
2023-04-08 22:29:09 +02:00
valueflow.cpp
ValueFlow: Fix uninitvar false positive after initialization '*((int*)&x) = ..' ( #5142 )
2023-06-10 15:22:17 +02:00
valueflow.h
ValueFlow: Add pass runner to check timeout and report time ( #4952 )
2023-04-30 20:39:05 +02:00
valueptr.h
enabled and fixed `performance-noexcept-move-constructor` clang-tidy warnings ( #4864 )
2023-03-07 12:24:01 +01:00
version.h
bumped version to 2.11 ( #4751 )
2023-01-29 15:18:22 +01:00
version.rc
added .gitattributes and normalized files ( #4668 )
2022-12-30 21:33:45 +01:00
vfvalue.cpp
Update copyright year
2023-01-28 10:16:34 +01:00
vfvalue.h
Update copyright year
2023-01-28 10:16:34 +01:00