cppcheck/lib
chrchr-github 3ccc0adbca
Fix #11182 checkLibraryFunction with overloaded method / #11198 inconsistent reporting of checkLibraryNoReturn (#4740)
2023-01-26 22:29:49 +01:00
..
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 include all (internal non-generated) headers in clang-tidy checks (#4100) 2022-10-16 13:51:17 +02:00
analyzerinfo.cpp Refactoring: Remove unused parameter for AnalyzerInfo::reportErr 2022-12-11 21:27:16 +01:00
analyzerinfo.h Refactoring: Remove unused parameter for AnalyzerInfo::reportErr 2022-12-11 21:27:16 +01:00
astutils.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
astutils.h generate `*.vcxproj` file lists with `dmake` (#4652) 2023-01-21 11:55:36 +01:00
calculate.h Fix 11053: Integer division by zero in calculate.h (#4092) 2022-05-09 20:27:32 +02:00
check.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
check.h errortypes.h: use `enum class` instead of wrapping types into classes (#4693) 2023-01-08 19:31:54 +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 Fixed #9926 (False positive assertWithSideEffects, calling method that has no side effects) 2022-10-12 07:51:50 +02:00
checkassert.h Update copyright year 2022-05-21 12:18:27 +02:00
checkautovariables.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
checkautovariables.h removed unused error messages (#4689) 2023-01-07 10:35:39 +01:00
checkbool.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
checkbool.h removed unused error messages (#4689) 2023-01-07 10:35:39 +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 errortypes.h: use `enum class` instead of wrapping types into classes (#4693) 2023-01-08 19:31:54 +01:00
checkbufferoverrun.h extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
checkclass.cpp Fix #11497 debug: CheckClass::isMemberVar found used member variable 'x' with varid 0 (inconclusive) (#4736) 2023-01-26 22:19:51 +01:00
checkclass.h Fix couple issues with missing operatorEqVarError (#4576) 2022-11-05 10:48:34 +01:00
checkcondition.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
checkcondition.h Use return instead of condition for alwaysTrueFalse check (#4446) 2022-10-09 21:03:48 +02:00
checkexceptionsafety.cpp added `entrypoint` to library configuration and got rid of hard-coded ones (#4691) 2023-01-18 20:52:33 +01:00
checkexceptionsafety.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkfunctions.cpp de-coupled `--check-library` from `information` severity and other dependencies (#3861) 2023-01-26 22:28:04 +01:00
checkfunctions.h New check: use memcpy/memset instead of loop (#4257) 2022-09-03 23:29:06 +02:00
checkinternal.cpp use `const_iterator` where possible (#4662) 2022-12-30 15:13:47 +01:00
checkinternal.h cleaned up includes based on include-what-you-use (#4502) 2022-09-25 09:20:34 +02:00
checkio.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
checkio.h removed unused error messages (#4689) 2023-01-07 10:35:39 +01:00
checkleakautovar.cpp de-coupled `--check-library` from `information` severity and other dependencies (#3861) 2023-01-26 22:28:04 +01:00
checkleakautovar.h Fix #11391 FP doubleFree with goto (#4587) 2022-11-19 16:49:34 +01:00
checkmemoryleak.cpp removed unused error messages (#4689) 2023-01-07 10:35:39 +01:00
checkmemoryleak.h removed unused error messages (#4689) 2023-01-07 10:35:39 +01:00
checknullpointer.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
checknullpointer.h extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
checkother.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
checkother.h removed unused error messages (#4689) 2023-01-07 10:35:39 +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 Fix #10412 FN useStlAlgorithm with iterators (#4157) 2022-10-16 13:46:26 +02:00
checksizeof.h removed unused error messages (#4689) 2023-01-07 10:35:39 +01:00
checkstl.cpp removed unused error messages (#4689) 2023-01-07 10:35:39 +01:00
checkstl.h extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01: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 removed unused error messages (#4689) 2023-01-07 10:35:39 +01:00
checktype.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
checktype.h extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
checkuninitvar.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
checkuninitvar.h extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
checkunusedfunctions.cpp added `entrypoint` to library configuration and got rid of hard-coded ones (#4691) 2023-01-18 20:52:33 +01:00
checkunusedfunctions.h added `entrypoint` to library configuration and got rid of hard-coded ones (#4691) 2023-01-18 20:52:33 +01:00
checkunusedvar.cpp de-coupled `--check-library` from `information` severity and other dependencies (#3861) 2023-01-26 22:28:04 +01:00
checkunusedvar.h removed unused error messages (#4689) 2023-01-07 10:35:39 +01:00
checkvaarg.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
checkvaarg.h Update copyright year 2022-05-21 12:18:27 +02:00
clangimport.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
clangimport.h LCppC backports: Refactorizations/Optimizations (#4204) 2022-08-21 17:21:02 +02:00
color.cpp Update copyright year 2022-02-05 11:45:17 +01:00
color.h Fix MSVC build and some warnings (#3334) 2021-07-16 21:55:12 +02:00
config.h converted (undocumented) define `MAXTIME` into (undocumented) command-line options `--checks-max-time=`, `--template-max-time=` and `--typedef-max-time=` (#4661) 2022-12-30 21:21:05 +01:00
cppcheck.cpp added `entrypoint` to library configuration and got rid of hard-coded ones (#4691) 2023-01-18 20:52:33 +01:00
cppcheck.h Cleanup *.ctu-info files that are not needed anymore after analysis 2023-01-18 17:32:14 +01:00
cppcheck.natvis added .gitattributes and normalized files (#4668) 2022-12-30 21:33:45 +01:00
cppcheck.vcxproj extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
cppcheck.vcxproj.filters extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
ctu.cpp Fix #11361 FP ctuPointerArith with unknown buffer size (#4591) 2022-11-23 19:11:47 +01:00
ctu.h extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
errorlogger.cpp errortypes.h: use `enum class` instead of wrapping types into classes (#4693) 2023-01-08 19:31:54 +01:00
errorlogger.h errortypes.h: use `enum class` instead of wrapping types into classes (#4693) 2023-01-08 19:31:54 +01:00
errortypes.cpp enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +02:00
errortypes.h errortypes.h: use `enum class` instead of wrapping types into classes (#4693) 2023-01-08 19:31:54 +01:00
forwardanalyzer.cpp Fix #11485 FN unusedFunction / Fix #7739 FP unusedFunction (#4707) 2023-01-14 20:16:55 +01:00
forwardanalyzer.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
fwdanalysis.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
fwdanalysis.h extracted `FwdAnalysis` from `astutils.{cpp|h}` (#4637) 2022-12-13 22:29:23 +01:00
importproject.cpp added `entrypoint` to library configuration and got rid of hard-coded ones (#4691) 2023-01-18 20:52:33 +01:00
importproject.h fixed and enabled some Clang compiler warnings (#4517) 2022-09-29 21:59:02 +02:00
infer.cpp use `const_iterator` where possible (#4662) 2022-12-30 15:13:47 +01:00
infer.h extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
lib.pri extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
library.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
library.h added `entrypoint` to library configuration and got rid of hard-coded ones (#4691) 2023-01-18 20:52:33 +01:00
matchcompiler.h Update copyright year 2021-09-26 11:34:56 +02:00
mathlib.cpp use `const_iterator` where possible (#4662) 2022-12-30 15:13:47 +01:00
mathlib.h mathlib.h: replaced slow `std::ostringstream` with `std::to_string()` in `MathLib::toString()` (#4382) 2022-08-19 20:44:24 +02:00
path.cpp various optimizations (#4535) 2022-10-06 20:12:07 +02:00
path.h various optimizations (#4535) 2022-10-06 20:12:07 +02:00
pathanalysis.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
pathanalysis.h enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
pathmatch.cpp use `cbegin()` and `cend()` with `const_ierator` loops (#4658) 2022-12-20 20:32:16 +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 fixed `platforms` lookup / set proper platform type for `unix32-unsigned` and `unix64-unsigned` / copy `platforms` in CMake (#4464) 2023-01-26 22:05:40 +01:00
platform.h fixed `platforms` lookup / set proper platform type for `unix32-unsigned` and `unix64-unsigned` / copy `platforms` in CMake (#4464) 2023-01-26 22:05:40 +01:00
precompiled.h Update copyright year 2022-02-05 11:45:17 +01:00
preprocessor.cpp use `const_iterator` where possible (#4662) 2022-12-30 15:13:47 +01:00
preprocessor.h cleaned up includes based on include-what-you-use (#4358) 2022-08-14 12:44:19 +02:00
programmemory.cpp use `const_iterator` where possible (#4662) 2022-12-30 15:13:47 +01:00
programmemory.h extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
reverseanalyzer.cpp use `const_iterator` where possible (#4662) 2022-12-30 15:13:47 +01:00
reverseanalyzer.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
settings.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
settings.h added command-line option `--disable=<id>` to disable individual checks (#4712) 2023-01-21 10:39:44 +01:00
smallvector.h include all (internal non-generated) headers in clang-tidy checks (#4100) 2022-10-16 13:51:17 +02:00
sourcelocation.h lib/sourcelocation.h: add missing <cstdint> include (#4474) 2022-09-16 21:36:37 +02: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 applied clang-tidy `misc-const-correctness` fixes for POD types, iterators and references (#4529) 2022-10-02 07:12:40 +02:00
summaries.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
suppressions.cpp optimized deserializing of `ErrorMessage` and related main process code (#4610) 2022-12-09 19:34:51 +01:00
suppressions.h errortypes.h: use `enum class` instead of wrapping types into classes (#4693) 2023-01-08 19:31:54 +01:00
symboldatabase.cpp Fix #11182 checkLibraryFunction with overloaded method / #11198 inconsistent reporting of checkLibraryNoReturn (#4740) 2023-01-26 22:29:49 +01:00
symboldatabase.h use `const_iterator` where possible (#4662) 2022-12-30 15:13:47 +01:00
templatesimplifier.cpp replaced some `std::ostringstream` usage with `std::to_string()` (#4719) 2023-01-16 22:05:33 +01:00
templatesimplifier.h Update Copyrights 2022-08-28 14:22:12 +02:00
timer.cpp use `const_iterator` where possible (#4662) 2022-12-30 15:13:47 +01:00
timer.h fixed #11249 (potential hang with -j and --showtime= when using threads) - synchronized access to `TimerResults::mResults` / added TSAN to CI (#4355) 2022-08-23 20:30:45 +02:00
token.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
token.h extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
tokenize.cpp Fix #11182 checkLibraryFunction with overloaded method / #11198 inconsistent reporting of checkLibraryNoReturn (#4740) 2023-01-26 22:29:49 +01:00
tokenize.h converted (undocumented) define `MAXTIME` into (undocumented) command-line options `--checks-max-time=`, `--template-max-time=` and `--typedef-max-time=` (#4661) 2022-12-30 21:21:05 +01:00
tokenlist.cpp Fix crash in iscpp11init_impl() (#4743) 2023-01-26 22:25:49 +01:00
tokenlist.h Fix #11383 FP selfAssignment: lambda capture / #11380 FP operatorEqRetRefThis (#4581) 2022-11-13 21:20:44 +01:00
tokenrange.h cleaned up includes based on include-what-you-use (#4502) 2022-09-25 09:20:34 +02:00
utils.cpp use `const_iterator` where possible (#4662) 2022-12-30 15:13:47 +01:00
utils.h use `const_iterator` where possible (#4662) 2022-12-30 15:13:47 +01:00
valueflow.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
valueflow.h extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
valueptr.h include all (internal non-generated) headers in clang-tidy checks (#4100) 2022-10-16 13:51:17 +02:00
version.h added missing version bumps to 2.10 (#4420) 2022-09-09 21:02:04 +02:00
version.rc added .gitattributes and normalized files (#4668) 2022-12-30 21:33:45 +01:00
vfvalue.cpp extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
vfvalue.h extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00