cppcheck/lib
Daniel Marjamäki 905a383ac2 Merge pull request #381 from Dmitry-Me/checkBooleanFlagFirst
Run cheaper check first, don't check the same condition twice.
2014-07-28 18:02:49 +02:00
..
check.cpp Moved implementation of two functions to new file check.cpp -> Don't include <iostream> everywhere 2014-05-24 12:50:04 +02:00
check.h Moved implementation of two functions to new file check.cpp -> Don't include <iostream> everywhere 2014-05-24 12:50:04 +02:00
check64bit.cpp Remove redundant code 2014-03-14 15:56:40 +01:00
check64bit.h
checkassert.cpp Get rid of tokAt() and strAt() in trivial cases. 2014-07-14 11:44:58 +04:00
checkassert.h
checkassignif.cpp #5875 clang ubsan errors: lib/checkassignif.cpp:58:34: runtime error: member call on null pointer of type 'Token' 2014-05-31 15:12:04 +02:00
checkassignif.h
checkautovariables.cpp Use temp variable to omit recomputing the same value. 2014-07-17 10:44:19 +04:00
checkautovariables.h Cleaned up includes and forward declarations in checkers: 2014-05-24 12:50:03 +02:00
checkbool.cpp Simplify code - bail out early, vreak loops early, reorder checks and declarations. 2014-06-09 13:35:30 +04:00
checkbool.h #4375 New check: add style warning about 'double d=false;' Add a new check to CheckBool. Also implement Variable::isFloatingType() 2014-05-24 18:35:49 +02:00
checkboost.cpp
checkboost.h
checkbufferoverrun.cpp Fixed #5978 (false positive: Array 'm_pool_vector[-1]' accessed at index 0, which is out of bounds.) 2014-07-20 11:44:25 +02:00
checkbufferoverrun.h Fixed #5257 (Check memcpy size for string literals) 2014-07-06 08:41:39 +02:00
checkclass.cpp Resolve CID 1214637. 2014-07-24 16:54:20 +04:00
checkclass.h Resolve CID 1214637. 2014-07-24 16:54:20 +04:00
checkexceptionsafety.cpp Fixed #5826 (Change error message for 'throw in destructor' check) 2014-07-19 03:29:50 +02:00
checkexceptionsafety.h Fixed #5826 (Change error message for 'throw in destructor' check) 2014-07-19 03:29:50 +02:00
checkinternal.cpp Added internal check for || and | inside Token::Match patterns. 2014-07-02 15:51:18 +02:00
checkinternal.h Added internal check for || and | inside Token::Match patterns. 2014-07-02 15:51:18 +02:00
checkio.cpp Fixed #6009 (Detect type mismatch in printf-like function when type is returned) 2014-07-28 09:16:35 +02:00
checkio.h CheckIO: Handle library types 2014-06-12 07:01:44 +02:00
checkleakautovar.cpp Bring variables decalaration to where they are really needed. 2014-07-10 11:23:14 +04:00
checkleakautovar.h Cleaned up includes and forward declarations in checkers: 2014-05-24 12:50:03 +02:00
checkmemoryleak.cpp Clearer variable names, fix typo in comment. 2014-07-11 11:33:09 +04:00
checkmemoryleak.h Cleaned up includes and forward declarations in checkers: 2014-05-24 12:50:03 +02:00
checknonreentrantfunctions.cpp
checknonreentrantfunctions.h
checknullpointer.cpp Avoid crash reported in #5943 (using the example from duplicate ticket #5971) 2014-07-06 14:48:24 +02:00
checknullpointer.h Refactoring: Removed CheckNullPointer::nullPointerByCheckAndDeRef and implemented needed analysis in ValueFlow instead. 2014-06-22 10:02:14 +02:00
checkobsoletefunctions.cpp
checkobsoletefunctions.h
checkother.cpp Fixed #6011 (crash: libreoffice/binfilter svt_enhwmf.cxx) 2014-07-28 16:33:42 +02:00
checkother.h Cleaned up includes and forward declarations in checkers: 2014-05-24 12:50:03 +02:00
checkpostfixoperator.cpp Refactorization: Use AST in CheckOther::checkRedundantCopy(), CheckOther::clarifyStatement() and CheckPostfixOperator::postfixOperator(). 2014-05-18 13:00:58 +02:00
checkpostfixoperator.h
checksizeof.cpp #5875 fix 'lib/checksizeof.cpp:142:26: runtime error: member call on null pointer of type 'Token'. Improve error handling in CheckSizeof::checkSizeofForPointerSize() 2014-06-01 22:18:17 +02:00
checksizeof.h Cleaned up includes and forward declarations in checkers: 2014-05-24 12:50:03 +02:00
checkstl.cpp Reuse previously computed values, use more const. 2014-07-25 15:05:13 +04:00
checkstl.h Cleaned up includes and forward declarations in checkers: 2014-05-24 12:50:03 +02:00
checkuninitvar.cpp Fix some compiler warnings 2014-06-26 20:34:07 +02:00
checkuninitvar.h Cleaned up includes and forward declarations in checkers: 2014-05-24 12:50:03 +02:00
checkunusedfunctions.cpp Moved getSourceFilePath(), isC() and isCPP() from Tokenizer to TokenList 2014-06-04 18:36:25 +02:00
checkunusedfunctions.h Cleaned up includes and forward declarations in checkers: 2014-05-24 12:50:03 +02:00
checkunusedvar.cpp Fixed false positive #5976: Properly handle shift from stream. 2014-07-17 10:03:58 +02:00
checkunusedvar.h Cleaned up includes and forward declarations in checkers: 2014-05-24 12:50:03 +02:00
config.h Refactorizations optimizing std::string usage: 2014-06-26 11:51:02 +02:00
cppcheck.cpp Fixed #5982 (Add xml dump) 2014-07-14 15:51:45 +02:00
cppcheck.h Further include cleanup 2014-05-24 12:50:04 +02:00
cppcheck.vcxproj Moved implementation of two functions to new file check.cpp -> Don't include <iostream> everywhere 2014-05-24 12:50:04 +02:00
cppcheck.vcxproj.filters Moved implementation of two functions to new file check.cpp -> Don't include <iostream> everywhere 2014-05-24 12:50:04 +02:00
cxx11emu.h
errorlogger.cpp Fixed assertion failure in VS debug mode 2014-04-30 21:06:01 +02:00
errorlogger.h Refactorizations optimizing std::string usage: 2014-06-26 11:51:02 +02:00
executionpath.cpp Fixed CID 1037101 Dereference after null check in ExecutionPath::checkScope. 2014-05-23 18:27:34 +02:00
executionpath.h
lib.pri Updated Makefile 2014-05-24 12:54:16 +02:00
library.cpp Add some more functions to posix.cfg which allow to enable TestBufferOverrun::buffer_overrun_1_posix_functions 2014-07-05 22:47:10 +02:00
library.h Library: Added <minsize> element used for buffer overrun checking 2014-07-05 20:31:43 +02:00
mathlib.cpp Fix clang compiler warning in mathlib.cpp and repair test case for #5895 2014-06-07 13:16:02 +02:00
mathlib.h Fixed #5885 - fsanitize=undefined: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int' in lib/tokenize.cpp. 2014-05-29 18:25:01 +02:00
path.cpp Fixed #5925: The first include in path.cpp is not path.h and astyle run. 2014-06-16 15:11:44 +02:00
path.h Small enhancements for doxygen 2014-04-27 21:42:10 +02:00
pcrerules.pri
preprocessor.cpp Fix Cppcheck warning. Make function Preprocessor::readpreprocessor static instead of const. 2014-07-25 12:43:55 +02:00
preprocessor.h Fix Cppcheck warning. Make function Preprocessor::readpreprocessor static instead of const. 2014-07-25 12:43:55 +02:00
settings.cpp Fixed #5982 (Add xml dump) 2014-07-14 15:51:45 +02:00
settings.h Fixed #5982 (Add xml dump) 2014-07-14 15:51:45 +02:00
standards.h
suppressions.cpp Refactorized inefficient usage of std::string and const char[]. 2014-04-02 13:56:34 +02:00
suppressions.h Refactorizations optimizing std::string usage: 2014-06-26 11:51:02 +02:00
symboldatabase.cpp Bring declarations closer to where they're needed. 2014-07-24 18:34:13 +04:00
symboldatabase.h Get rid of tokAt() and strAt() in trivial cases. 2014-07-14 11:44:58 +04:00
templatesimplifier.cpp TemplateSimplifier: Fixed crash caused by null pointer dereference. I don't have a testcase. But the code is suspicious, in the loop we check if tok3 is null and then in the loop head we call tok3->next(). 2014-07-15 21:28:52 +02:00
templatesimplifier.h Refactoring/small corrections to fix warnings from clang -fsanitize=undefined 'member call on null pointer' 2014-05-20 21:55:08 +02:00
timer.cpp Refactorization in timer.cpp (#5902), Removed misleading comment in symboldatabase 2014-06-05 17:39:14 +02:00
timer.h
token.cpp Suspicious string comparison: Refactoring using AST. Fixed FP in Lac. 2014-07-28 14:27:35 +02:00
token.h Add simple xml debug output. When both --xml and --debug is used there will be xml debug output. 2014-07-13 17:21:45 +02:00
tokenize.cpp Run cheaper check first, don't check the same condition twice. 2014-07-28 14:58:19 +04:00
tokenize.h Fixed #5982 (Add xml dump) 2014-07-14 15:51:45 +02:00
tokenlist.cpp Bring variables decalaration to where they are really needed. 2014-07-10 11:23:14 +04:00
tokenlist.h Refactorizations optimizing std::string usage: 2014-06-26 11:51:02 +02:00
valueflow.cpp Fixed #5965 (False positive zerodiv - loop iterating over double variable) 2014-07-17 08:44:55 +02:00
valueflow.h Fixed some complaints of PVS Studio 2014-05-19 14:37:54 +02:00
version.h Increased version number to 1.65.99/1.66 dev. 2014-05-10 12:57:33 +02:00
version.rc