cppcheck/lib
Boris Egorov 0154d39bf6 Show struct member in unsignedLessThanZeroError warning
Before:
    [/tmp/test.c:8]: (style) Checking if unsigned variable '.' is less than zero.
    [/tmp/test.c:12]: (style) Checking if unsigned variable '.' is less than zero.

After:
    [/tmp/test.c:8]: (style) Checking if unsigned variable 'd.n' is less than zero.
    [/tmp/test.c:12]: (style) Checking if unsigned variable 'd.n' is less than zero.
2016-09-22 08:03:30 +07:00
..
CMakeLists.txt Fixed #7660 (cmake build does not handle simplecpp) 2016-08-06 18:21:54 +02:00
astutils.cpp Fixed #6971 (False positive duplicateExpressionTernary - cast ignored) 2016-08-01 21:53:43 +02:00
astutils.h Merge pull request #771 from Dmitry-Me/charUsedAsArrayIndex 2016-02-10 20:11:38 +03:00
check.cpp Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
check.h Run astyle + minor refactoring 2016-02-27 16:03:50 +01: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 #5844 False positive: returnReference fp for inner lambda function 2016-05-20 23:46:56 +02: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 Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02: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 astyle formatting 2016-08-15 18:04:55 +02:00
checkbufferoverrun.h Use proper tokenizer variable 2016-07-10 22:24:28 +02:00
checkclass.cpp Fixed #5839 (False positive: Function can be const, if this is passed to functor) 2016-09-04 16:36:04 +02: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 Fixed false positive when self-checking Cppcheck 'boolean result used in bitwise operation' when using boolean variables. 2016-08-29 04:09:36 +02: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 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
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 Fixed #5522 (CheckLeakAutoVar: Don't treat 'x==p' as dereference of p) 2016-05-26 19:22:38 +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 Running astyle; Improved testing of std::find; std.cfg: Added support for istream::read and ifstream::read. 2016-08-25 19:17:07 +02:00
checknullpointer.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checkother.cpp Show struct member in unsignedLessThanZeroError warning 2016-09-22 08:03:30 +07:00
checkother.h Improved check: Detect passedByValue even for arguments that are not declared as "const" 2016-07-28 19:37:10 +02: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 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
checkstl.h Fixed #7658 (False positive: Same iterator is used with different containers) 2016-08-14 10:49:48 +02:00
checkstring.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
checkstring.h Fixed two false positives related to char arrays initialized by a literal: 2016-07-07 19:38:15 +02:00
checktype.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
checktype.h Removed enum mismatch checker. Ticket #6960. 2016-05-29 18:00:37 +02:00
checkuninitvar.cpp Fixed #6646 (False positive uninitvar - loopvariable initialized inside loop) 2016-08-04 14:39:54 +02: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 Always set ErrorMessage::file0 to ensure that the source file that cppcheck is checking when an error occurs can be identified 2016-07-26 16:28:40 +02:00
checkunusedfunctions.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checkunusedvar.cpp unused struct members: don't warn about packed structs (#3088) 2016-09-05 17:27:12 +02:00
checkunusedvar.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +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 #7677 (skipping of configurations broken?) 2016-08-21 12:31:26 +02:00
cppcheck.h Fixed #7177 (Support compile_commands.json) 2016-08-13 10:50:03 +02:00
cppcheck.vcxproj Fixed #7177 (Support compile_commands.json) 2016-08-13 10:50:03 +02:00
cppcheck.vcxproj.filters Fixed #7177 (Support compile_commands.json) 2016-08-13 10:50:03 +02:00
cxx11emu.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
errorlogger.cpp Always set ErrorMessage::file0 to ensure that the source file that cppcheck is checking when an error occurs can be identified 2016-07-26 16:28:40 +02:00
errorlogger.h Always set ErrorMessage::file0 to ensure that the source file that cppcheck is checking when an error occurs can be identified 2016-07-26 16:28:40 +02:00
importproject.cpp Fix crash in parsing solution/project 2016-08-24 12:17:54 +02:00
importproject.h GUI: Select configuration that is checked 2016-08-21 15:57:38 +02:00
lib.pri Fixed #7177 (Support compile_commands.json) 2016-08-13 10:50:03 +02:00
library.cpp Fixed #7338 (Library: method in base class) 2016-09-04 14:14:21 +02:00
library.h Fixed #7338 (Library: method in base class) 2016-09-04 14:14:21 +02:00
matchcompiler.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
mathlib.cpp Fixed #7177 (MathLib: Does not handle '\xF6' properly) 2016-08-28 11:37:05 +02:00
mathlib.h Ticket #7137: Properly detect C++14 digit separators. (#802) 2016-06-04 22:55:55 +02:00
path.cpp Refactoring 2016-08-13 15:23:46 +02:00
path.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
pcrerules.pri
platform.cpp Fixed #7177 (Support compile_commands.json) 2016-08-13 10:50:03 +02:00
platform.h Fixed #7177 (Support compile_commands.json) 2016-08-13 10:50:03 +02:00
preprocessor.cpp bump simplecpp to rev b50ced8ac14f8debab9e85e78036f881ff2b3965 2016-09-03 12:29:45 +02:00
preprocessor.h TestPreprocessor: Fix output 2016-08-06 13:28:24 +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 Settings: Make Settings::_terminated static. All threads and subchecks are terminated 2016-08-21 15:57:19 +02:00
standards.h Cleanup Copyrights. Now all should be just for Cppcheck team. 2016-01-01 23:04:16 +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 #7713 (False positive: %hhu in format string (no. 1) requires 'unsigned char' but the argument type is 'signed int'.) 2016-08-26 19:47:36 +02:00
symboldatabase.h Fixed #7697 ((debug) Executable scope 'B' with unknown function.) 2016-08-19 19:06:15 +02:00
templatesimplifier.cpp Merge overlapping patterns 2016-08-24 15:10:39 +03:00
templatesimplifier.h Use MAXTIME in templatesimplifier 2016-02-12 12:05:32 +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 Show struct member in unsignedLessThanZeroError warning 2016-09-22 08:03:30 +07:00
token.h unused struct members: don't warn about packed structs (#3088) 2016-09-05 17:27:12 +02:00
tokenize.cpp unused struct members: don't warn about packed structs (#3088) 2016-09-05 17:27:12 +02:00
tokenize.h Tokenizer: refactoring garbage code handling 2016-07-26 08:16:10 +02:00
tokenlist.cpp Ticket #7680: Properly handle ::delete during memory leak checks. 2016-09-10 14:55:50 +02: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 Fixed #7573 (Tokenizer: FP caused by constant folding) 2016-08-28 19:11:05 +02:00
valueflow.h ValueFlow: better handling of ? when condition result is known 2016-08-15 14:19:35 +02:00
version.h 1.75: Set versions 2016-08-06 11:47:27 +02:00
version.rc