cppcheck/lib
Oliver Stöneberg 40bcbd47d6
small `Token::Match()` optimizations (#4154)
* token.cpp: fixed `readability-else-after-return` warnings in `Match()`

* token.cpp: removed some duplicated code from `Match()`

* token.cpp: use `strchr()` instead of loop in `Match()`

* token.cpp: added early exit and removed unnecessary loop condition in `Match()`
2022-05-31 13:52:34 +02:00
..
CMakeLists.txt Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
analyzer.h Handle subfunction values in valueflow conditions (#4128) 2022-05-29 19:57:10 +02:00
analyzerinfo.cpp
analyzerinfo.h
astutils.cpp inlined `findAstNode()` calls (#4146) 2022-05-31 13:37:21 +02:00
astutils.h inlined `findAstNode()` calls (#4146) 2022-05-31 13:37:21 +02:00
calculate.h Fix 11053: Integer division by zero in calculate.h (#4092) 2022-05-09 20:27:32 +02:00
check.cpp Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
check.h
check64bit.cpp
check64bit.h Update copyright year 2022-05-21 12:18:27 +02:00
checkassert.cpp
checkassert.h Update copyright year 2022-05-21 12:18:27 +02:00
checkautovariables.cpp cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +02:00
checkautovariables.h
checkbool.cpp Fix #7197 not getting expected warning in relational comparison of booleans (#4095) 2022-05-11 08:09:32 +02:00
checkbool.h Update copyright year 2022-05-21 12:18:27 +02: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
checkbufferoverrun.h
checkclass.cpp Fix #9861 FN: "static" not suggested for non-const method (#4101) 2022-05-11 20:01:22 +02:00
checkclass.h cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +02:00
checkcondition.cpp Fix #8545 FN Condition '...' is always true ' uint16_t i; ( i <= 0xFFFF)' (#4114) 2022-05-21 08:33:42 +02:00
checkcondition.h
checkexceptionsafety.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkexceptionsafety.h
checkfunctions.cpp
checkfunctions.h
checkinternal.cpp
checkinternal.h Update copyright year 2022-05-21 12:18:27 +02:00
checkio.cpp
checkio.h
checkleakautovar.cpp Fix crash with statement expression (#4142) 2022-05-28 00:11:23 +02:00
checkleakautovar.h
checkmemoryleak.cpp Fix FP memleak (#4145) 2022-05-30 06:55:15 +02:00
checkmemoryleak.h
checknullpointer.cpp Fix #11078 FN constructing string from nullptr / #11079 FN unread variables (#4112) 2022-05-18 13:52:44 +02:00
checknullpointer.h
checkother.cpp Fix #10980 FN constVariable with range-based for loop (#4144) 2022-05-29 17:06:33 +02:00
checkother.h Update copyright year 2022-05-21 12:18:27 +02:00
checkpostfixoperator.cpp
checkpostfixoperator.h Update copyright year 2022-05-21 12:18:27 +02:00
checksizeof.cpp Fix #9648 FP sizeofDivisionMemfunc (#4017) 2022-04-13 18:21:56 +02:00
checksizeof.h Update copyright year 2022-05-21 12:18:27 +02:00
checkstl.cpp Fix 11028: False positive: invalidContainer (#4083) 2022-05-05 06:54:36 +02:00
checkstl.h
checkstring.cpp checkAlwaysTrueOrFalseStringCompare: Added '_mbscmp_l' to list of functions. 2022-05-25 13:35:39 +02:00
checkstring.h Update copyright year 2022-05-21 12:18:27 +02:00
checktype.cpp
checktype.h
checkuninitvar.cpp Rename old uninitvar ID to use legacyUninitvar (#4043) 2022-04-27 17:37:37 +02:00
checkuninitvar.h Rename old uninitvar ID to use legacyUninitvar (#4043) 2022-04-27 17:37:37 +02:00
checkunusedfunctions.cpp
checkunusedfunctions.h enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
checkunusedvar.cpp Fix #11094 FP unreadVariable with unique_ptr and unknown type (#4140) 2022-05-27 17:17:50 +02:00
checkunusedvar.h
checkvaarg.cpp
checkvaarg.h Update copyright year 2022-05-21 12:18:27 +02:00
clangimport.cpp Fix #10980 FN constVariable with range-based for loop (#4144) 2022-05-29 17:06:33 +02:00
clangimport.h
color.cpp
color.h
config.h fail `run-clang-tidy` in case of compiler warnings / fixed Clang warnings / cleanups (#4036) 2022-05-15 12:42:29 +02:00
cppcheck.cpp provide more details when executing addons fails 2022-05-18 08:36:20 +02:00
cppcheck.h Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
cppcheck.natvis
cppcheck.vcxproj aligned build options of Visual Studio project configurations and added them to CMake (#4020) 2022-04-21 21:28:29 +02:00
cppcheck.vcxproj.filters Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
ctu.cpp
ctu.h Fix #9391 False negative: Uninitialized struct member (default constructor) (#4088) 2022-05-09 20:28:21 +02:00
errorlogger.cpp Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
errorlogger.h Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
errortypes.cpp
errortypes.h
forwardanalyzer.cpp Handle subfunction values in valueflow conditions (#4128) 2022-05-29 19:57:10 +02:00
forwardanalyzer.h
importproject.cpp fail `run-clang-tidy` in case of compiler warnings / fixed Clang warnings / cleanups (#4036) 2022-05-15 12:42:29 +02:00
importproject.h Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
infer.cpp
infer.h
lib.pri Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
library.cpp library: Improved argument <valid>-interface to defined values that are explicitly excluded. (#4111) 2022-05-14 16:05:18 +02:00
library.h cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +02:00
matchcompiler.h
mathlib.cpp Cleanup redundant parentheses 2022-05-15 07:53:32 +02:00
mathlib.h
path.cpp Update copyright year 2022-05-21 12:18:27 +02:00
path.h
pathanalysis.cpp
pathanalysis.h
pathmatch.cpp added (partial) support for specifying C++23 and support more "-std" options (#3212) 2022-04-15 16:17:36 +02:00
pathmatch.h
pcrerules.pri
platform.cpp
platform.h Update copyright year 2022-05-21 12:18:27 +02:00
precompiled.h
preprocessor.cpp Fix #10980 FN constVariable with range-based for loop (#4144) 2022-05-29 17:06:33 +02:00
preprocessor.h Fix #10980 FN constVariable with range-based for loop (#4144) 2022-05-29 17:06:33 +02:00
programmemory.cpp Fix 11056: FP uninitvar with known condition in loop (#4107) 2022-05-12 06:37:48 +02:00
programmemory.h cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +02:00
reverseanalyzer.cpp Fix #9861 FN: "static" not suggested for non-const method (#4101) 2022-05-11 20:01:22 +02:00
reverseanalyzer.h
settings.cpp Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
settings.h cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +02:00
smallvector.h smallvector.h: reverted bogus noExplicitConstructor fix and suppress the warning (#4016) 2022-04-13 20:50:04 +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
summaries.h
suppressions.cpp cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +02:00
suppressions.h fail `run-clang-tidy` in case of compiler warnings / fixed Clang warnings / cleanups (#4036) 2022-05-15 12:42:29 +02:00
symboldatabase.cpp Fix #10980 FN constVariable with range-based for loop (#4144) 2022-05-29 17:06:33 +02:00
symboldatabase.h Fix 11057: FP danglingTemporaryLifetime with reference member (#4103) 2022-05-13 06:51:07 +02:00
templatesimplifier.cpp Fix #10980 FN constVariable with range-based for loop (#4144) 2022-05-29 17:06:33 +02:00
templatesimplifier.h
timer.cpp
timer.h Update copyright year 2022-05-21 12:18:27 +02:00
token.cpp small `Token::Match()` optimizations (#4154) 2022-05-31 13:52:34 +02:00
token.h Fix #11084: ValueType for pointer typedef, don't warn for typedef'd pointers, improve error message (#4123) 2022-05-24 10:09:48 +02:00
tokenize.cpp Fix #11084: ValueType for pointer typedef, don't warn for typedef'd pointers, improve error message (#4123) 2022-05-24 10:09:48 +02:00
tokenize.h Fix #9861 FN: "static" not suggested for non-const method (#4101) 2022-05-11 20:01:22 +02:00
tokenlist.cpp AST: Fix AST for array size calculation in cast (char (*)[...]) 2022-05-10 22:47:57 +02:00
tokenlist.h fixed some clang-tidy warnings (#3080) 2022-05-08 20:42:06 +02:00
tokenrange.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
utils.cpp added (partial) support for specifying C++23 and support more "-std" options (#3212) 2022-04-15 16:17:36 +02:00
utils.h added (partial) support for specifying C++23 and support more "-std" options (#3212) 2022-04-15 16:17:36 +02:00
valueflow.cpp Handle subfunction values in valueflow conditions (#4128) 2022-05-29 19:57:10 +02:00
valueflow.h Fix 11009: FP uninitvar (#4076) 2022-05-04 05:59:01 +02:00
valueptr.h
version.h
version.rc