cppcheck/lib
Daniel Marjamäki a198422f0e Fixed Coverity warning. Coverity assumes that 'bits < 64' means that bits can be 63. That is not true here but anyway I think the code needed to be fixed. 2016-11-25 15:19:18 +01:00
..
CMakeLists.txt Fixed #7660 (cmake build does not handle simplecpp) 2016-08-06 18:21:54 +02:00
analyzerinfo.cpp --cppcheck-build-dir: generate unique analyzeinfo filenames when source files have same names 2016-11-14 20:50:08 +01:00
analyzerinfo.h UnusedFunctions: Perform checking using analyzeinfo 2016-11-05 21:26:56 +01:00
astutils.cpp Fixed TODO (check if function parameter is non-const reference etc..) by common function 2016-11-01 14:06:30 +01:00
astutils.h Fixed typos. There are no real changes. 2016-11-04 15:01:05 +01:00
check.cpp Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
check.h Added --cppcheck-build-dir flag 2016-10-29 12:18:11 +02:00
check64bit.cpp Fixed #7553 (False positive with 1.74 'returning an integer in a function with pointer return type' when no integer is used) 2016-07-29 21:53:58 +02:00
check64bit.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checkassert.cpp Fixed #7130 (Wrong assignmentInAssert when using lambda in predicate function) 2016-05-26 18:29:29 +02:00
checkassert.h Fixed #7130 (Wrong assignmentInAssert when using lambda in predicate function) 2016-05-26 18:29:29 +02:00
checkautovariables.cpp Revert "checkautovariable: fix #7818, crash when accessing nullpointer tok2->next()." 2016-11-20 17:21:56 +01:00
checkautovariables.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checkbool.cpp astyle formatting 2016-08-15 18:04:55 +02:00
checkbool.h Fixed typos. There are no real changes. 2016-11-04 15:01:05 +01:00
checkboost.cpp CWE: refactoring. use constants instead of magic numbers. 2016-01-25 20:01:48 +01:00
checkboost.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
checkbufferoverrun.cpp Fixed #7831 (false-positive: terminateStrncpy) 2016-11-24 07:04:58 +01:00
checkbufferoverrun.h Added --cppcheck-build-dir flag 2016-10-29 12:18:11 +02:00
checkclass.cpp CheckClass::virtualDestructorError and a variation of CheckNullPointer::nullPointerError would print inconclusive,warning messages altough no --enable=warning was given. Fix. 2016-11-23 00:13:09 +01:00
checkclass.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checkcondition.cpp fix #7783: false positive knownConditionTrueFalse on assert(0 && "message"). 2016-11-23 21:54:38 +01:00
checkcondition.h Support char literals in CheckCondition::checkIncorrectLogicOperator() (#5912) 2016-05-24 15:08:48 +02:00
checkexceptionsafety.cpp Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
checkexceptionsafety.h astyle formatting 2016-08-24 12:43:45 +02:00
checkfunctions.cpp Repair CWE mapping for calling obsolete functions 2016-08-04 13:55:38 +02:00
checkfunctions.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checkinternal.cpp Attempt to fix build on Unix systems, ran AStyle. 2016-07-26 16:50:32 +02:00
checkinternal.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checkio.cpp ValueFlow: allow more value types 2016-11-13 22:33:39 +01:00
checkio.h CheckIO: Changed severity for '.. aka' warnings to portability. If type is compatible then it's just a possible portability issue. 2016-09-11 17:05:01 +02:00
checkleakautovar.cpp CheckLeakAutoVar: Distinguish between new and new[] (#888) 2016-10-09 10:28:19 +02:00
checkleakautovar.h Added new attribute "arg" to <alloc> and <dealloc> to specify the argument that is allocated/deallocated. 2016-05-22 17:19:14 +02:00
checkmemoryleak.cpp Ticket #7680: Properly handle ::delete during memory leak checks. 2016-09-10 14:55:50 +02:00
checkmemoryleak.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checknullpointer.cpp CheckClass::virtualDestructorError and a variation of CheckNullPointer::nullPointerError would print inconclusive,warning messages altough no --enable=warning was given. Fix. 2016-11-23 00:13:09 +01:00
checknullpointer.h New check: Pointer overflow (null pointer subtracted) 2016-10-09 15:15:29 +02:00
checkother.cpp CheckOther::checkAccessOfMovedVariable: don't warn if --enable=warning is not given. 2016-11-20 18:44:37 +01:00
checkother.h Fixed #6180 (Usage of variable after std::move or std::forward) 2016-11-20 15:14:49 +01:00
checkpostfixoperator.cpp CWE mapping of useAutoPointerMalloc, uselessCallsCompare, uselessCallsSwap, uselessCallsSubstr, uselessCallsEmpty, uselessCallsRemove, derefInvalidIterator, reademptycontainer, multiplySizeof, divideSizeof, stringLiteralWrite, incorrectStringCompare, literalWithCharPtrCompare, charLiteralWithCharPtrCompare, incorrectStringBooleanError, staticStringCompare, stringCompare, signConversion, truncLongCastAssignment, truncLongCastReturn, unusedFunction, unusedVariable, unusedAllocatedMemory, unreadVariable, unassignedVariable, unusedStructMember, postfixOperator, va_start_wrongParameter (#824) 2016-09-03 00:31:35 +02:00
checkpostfixoperator.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checksizeof.cpp CWE mapping of useAutoPointerMalloc, uselessCallsCompare, uselessCallsSwap, uselessCallsSubstr, uselessCallsEmpty, uselessCallsRemove, derefInvalidIterator, reademptycontainer, multiplySizeof, divideSizeof, stringLiteralWrite, incorrectStringCompare, literalWithCharPtrCompare, charLiteralWithCharPtrCompare, incorrectStringBooleanError, staticStringCompare, stringCompare, signConversion, truncLongCastAssignment, truncLongCastReturn, unusedFunction, unusedVariable, unusedAllocatedMemory, unreadVariable, unassignedVariable, unusedStructMember, postfixOperator, va_start_wrongParameter (#824) 2016-09-03 00:31:35 +02:00
checksizeof.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checkstl.cpp CheckStl: validation of iterators returned from functions 2016-11-01 14:08:42 +01:00
checkstl.h Fixed #7658 (False positive: Same iterator is used with different containers) 2016-08-14 10:49:48 +02:00
checkstring.cpp Improved char literal handling. In the 'normal' tokenlist these should not be simplified to integer literals. 2016-10-12 10:20:24 +02:00
checkstring.h Fixed two false positives related to char arrays initialized by a literal: 2016-07-07 19:38:15 +02:00
checktype.cpp Fixed Coverity warning. Coverity assumes that 'bits < 64' means that bits can be 63. That is not true here but anyway I think the code needed to be fixed. 2016-11-25 15:19:18 +01:00
checktype.h Add a check for float conversion overflows 2016-11-22 22:37:13 +01:00
checkuninitvar.cpp checkunusedvar: Check pointer against NULL before dereferencing it. 2016-10-31 15:57:34 +01:00
checkuninitvar.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checkunusedfunctions.cpp Unused Functions: Fix checking when --cppcheck-build-dir is used. 2016-11-07 21:49:58 +01:00
checkunusedfunctions.h Unused Functions: Fix checking when --cppcheck-build-dir is used. 2016-11-07 21:49:58 +01:00
checkunusedvar.cpp Remove Tokenizer::simplifyNull() 2016-10-18 21:44:02 +02:00
checkunusedvar.h Improved check: Complain if a variable is modified but not used again 2016-10-10 21:27:40 +02:00
checkvaarg.cpp CWE mapping of useAutoPointerMalloc, uselessCallsCompare, uselessCallsSwap, uselessCallsSubstr, uselessCallsEmpty, uselessCallsRemove, derefInvalidIterator, reademptycontainer, multiplySizeof, divideSizeof, stringLiteralWrite, incorrectStringCompare, literalWithCharPtrCompare, charLiteralWithCharPtrCompare, incorrectStringBooleanError, staticStringCompare, stringCompare, signConversion, truncLongCastAssignment, truncLongCastReturn, unusedFunction, unusedVariable, unusedAllocatedMemory, unreadVariable, unassignedVariable, unusedStructMember, postfixOperator, va_start_wrongParameter (#824) 2016-09-03 00:31:35 +02:00
checkvaarg.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
config.h Removed non-standard code annotations with __attribute__ 2016-01-09 09:33:56 +01:00
cppcheck.cpp Fixed race condition by properly constructing a local CheckUnusedFunctions instance in CppCheck::processFile(). Instantiating Checks is dangerous! 2016-11-18 21:09:41 +01:00
cppcheck.h UnusedFunctions: Perform checking using analyzeinfo 2016-11-05 21:26:56 +01:00
cppcheck.vcxproj Disable VS warnings 2016-10-29 18:32:39 +02:00
cppcheck.vcxproj.filters Fixed Visual Studio build after pathmatch.h/cpp was moved to lib, fixed compiler errors about getcwd 2016-10-02 15:48:03 +02:00
cxx11emu.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
errorlogger.cpp Fix Cppcheck warnings and remove Travis suppressions 2016-10-29 15:50:08 +02:00
errorlogger.h Fixed typos. There are no real changes. 2016-11-04 15:01:05 +01:00
importproject.cpp --project: loading props when relative paths are given 2016-11-24 08:11:51 +01:00
importproject.h Visual Studio: Improved --project handling. 2016-11-20 22:44:50 +01:00
lib.pri Added --cppcheck-build-dir flag 2016-10-29 12:18:11 +02:00
library.cpp CheckStl: validation of iterators returned from functions 2016-11-01 14:08:42 +01:00
library.h CheckStl: validation of iterators returned from functions 2016-11-01 14:08:42 +01:00
matchcompiler.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
mathlib.cpp astyle formatting 2016-10-16 19:03:14 +02:00
mathlib.h Improved Doxygen comments. There are no functional changes. 2016-10-11 13:51:46 +02:00
path.cpp Fixed Visual Studio build after pathmatch.h/cpp was moved to lib, fixed compiler errors about getcwd 2016-10-02 15:48:03 +02:00
path.h Path: Add methods Path::isAbsolute() and Path::getCurrentPath() 2016-10-02 12:06:55 +02:00
pathmatch.cpp dmake: pathmatch was moved from cli to lib 2016-10-02 13:32:39 +02:00
pathmatch.h Added missing #include "config.h" in pathmatch.h 2016-10-02 15:51:21 +02:00
pcrerules.pri pro and pri files: remove unneeded empty lines, use spaces for consistency 2012-10-12 17:46:57 +02:00
platform.cpp Fixed #7177 (Support compile_commands.json) 2016-08-13 10:50:03 +02:00
platform.h Platform: Fix type limits calculations. sizeof=>bit 2016-10-16 12:00:33 +02:00
preprocessor.cpp cppcheck-build-dir: Use settings and cppcheck version in checksum so results will be recalculated if cppcheck is upgraded or there is significant changes on the command line. 2016-10-29 22:40:44 +02:00
preprocessor.h cppcheck-build-dir: Use settings and cppcheck version in checksum so results will be recalculated if cppcheck is upgraded or there is significant changes on the command line. 2016-10-29 22:40:44 +02:00
settings.cpp Settings: Make Settings::_terminated static. All threads and subchecks are terminated 2016-08-21 15:57:19 +02:00
settings.h Added --cppcheck-build-dir flag 2016-10-29 12:18:11 +02:00
standards.h Fixed #6180 (Usage of variable after std::move or std::forward) 2016-11-20 15:14:49 +01:00
suppressions.cpp Fixed #7455 (Suppressions: not working well with windows path separators) 2016-05-23 15:38:47 +02:00
suppressions.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
symboldatabase.cpp Fixed #6180 (Usage of variable after std::move or std::forward) 2016-11-20 15:14:49 +01:00
symboldatabase.h Add a check for float conversion overflows 2016-11-22 22:37:13 +01:00
templatesimplifier.cpp templatesimplifier: Improved const correctness. There are no functional changes. 2016-10-31 17:24:15 +01:00
templatesimplifier.h templatesimplifier: Improved const correctness. There are no functional changes. 2016-10-31 17:24:15 +01:00
timer.cpp Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
timer.h Update Makefile. Replace another NULL by nullptr 2016-05-07 17:35:00 +02:00
token.cpp Fixed #6180 (Usage of variable after std::move or std::forward) 2016-11-20 15:14:49 +01:00
token.h Fixed #6180 (Usage of variable after std::move or std::forward) 2016-11-20 15:14:49 +01:00
tokenize.cpp Refactoring fix for #7816 2016-11-21 13:54:59 +01:00
tokenize.h tokenize: Improved const correctness. There are no functional changes. 2016-10-31 17:18:27 +01:00
tokenlist.cpp use const 2016-11-20 15:44:20 +01:00
tokenlist.h ValueFlow: Fixed constant folding of sizeof(enum) and sizeof(enumerator) (#7564) 2016-07-08 20:39:34 +02:00
utils.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
valueflow.cpp ValueFlow: don't perform UB when a function returns shifts of/by negative values. Fixes #7814. 2016-11-24 23:23:47 +01:00
valueflow.h Fixed #6180 (Usage of variable after std::move or std::forward) 2016-11-20 15:14:49 +01:00
version.h Set version to 1.76.99/1.77 dev 2016-10-09 10:33:03 +02:00
version.rc Refactorized resource files: 2012-10-14 10:21:22 +02:00