cppcheck/lib
rikardfalkeborn 75caf8e4de Fix #8230: FP unknown evaluation order on comma expression in while clause (#1415)
The while part of a do-while loop looks almost like a function call, so
extend the check for function calls to ignore while-statements.

Note that there was only an FP when checking c-code, since the check is
disabled for c++-code. Therefore, make sure the test cases are run on a
c-file.
2018-10-09 14:44:01 +02:00
..
CMakeLists.txt Fixed #7660 (cmake build does not handle simplecpp) 2016-08-06 18:21:54 +02:00
analyzerinfo.cpp refactoring; use range for loops 2018-07-13 22:56:20 +02:00
analyzerinfo.h Renamed private member analyzerInfoFile 2018-06-17 08:11:48 +02:00
astutils.cpp Fixed #8735 (FP oppositeInnerCondition - regression) 2018-10-07 18:30:29 +02:00
astutils.h Fix false positives in unknownEvaluationOrder when using followVar (#1391) 2018-09-28 08:38:24 +02:00
check.cpp Renamed Check::_name 2018-06-16 16:31:07 +02:00
check.h Renamed Check::_name 2018-06-16 16:31:07 +02:00
check64bit.cpp Rename _tokenizer, _settings, _errorLogger 2018-06-16 16:10:28 +02:00
check64bit.h Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
checkassert.cpp Rename _tokenizer, _settings, _errorLogger 2018-06-16 16:10:28 +02:00
checkassert.h Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
checkautovariables.cpp Fixed #8691 (False negative for uselessAssignmentArg) 2018-08-17 19:56:36 +02:00
checkautovariables.h Fix override warnings. (#1234) 2018-05-15 16:37:40 +02:00
checkbool.cpp Refactoring; Use Token::isBinaryOp() to clarify code, use early continue in loop 2018-07-13 23:06:45 +02:00
checkbool.h Add some missing errors to --errorlist output. (#1292) 2018-06-20 10:43:13 +02:00
checkboost.cpp Rename _tokenizer, _settings, _errorLogger 2018-06-16 16:10:28 +02:00
checkboost.h Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
checkbufferoverrun.cpp Fixed #7718 (False positive: out of bounds of already resized std::string) 2018-10-09 06:53:26 +02:00
checkbufferoverrun.h Rename private member variables 2018-06-17 17:20:16 +02:00
checkclass.cpp Fixed #8669 (operator>> causes wrong style message) 2018-10-03 13:00:11 +02:00
checkclass.h Disabled CheckClass::checkCopyCtorAndEqOperator because of FP (#8388) 2018-09-08 09:14:02 +02:00
checkcondition.cpp Reenable follow var for logical conjunction (#1400) 2018-10-01 14:40:03 +02:00
checkcondition.h Reenable follow var for logical conjunction (#1400) 2018-10-01 14:40:03 +02:00
checkexceptionsafety.cpp Refactoring; Use range for loops 2018-07-14 09:49:03 +02:00
checkexceptionsafety.h Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
checkfunctions.cpp astyle formatting 2018-08-05 10:48:28 +02:00
checkfunctions.h Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
checkinternal.cpp Rename _tokenizer, _settings, _errorLogger 2018-06-16 16:10:28 +02:00
checkinternal.h Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
checkio.cpp Refactoring: Use range for loops 2018-07-14 10:02:32 +02:00
checkio.h Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
checkleakautovar.cpp Refactoring: use range for loops 2018-07-14 09:54:52 +02:00
checkleakautovar.h Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
checkmemoryleak.cpp Fix FP with fclose after comma (#7525) (#1407) 2018-10-01 11:58:27 +02:00
checkmemoryleak.h Refactorings in CheckMemoryLeak 2018-06-18 09:40:27 +02:00
checknullpointer.cpp Clarify code with Token::isUnaryOp() 2018-07-14 10:26:22 +02:00
checknullpointer.h Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
checkother.cpp Fix #8230: FP unknown evaluation order on comma expression in while clause (#1415) 2018-10-09 14:44:01 +02:00
checkother.h Remove unused parameters for CheckOther::oppositeExpressionError (#1412) 2018-10-05 08:36:49 +02:00
checkpostfixoperator.cpp Refactoring: Use ranged for loop 2018-07-13 16:50:12 +02:00
checkpostfixoperator.h Fix override warnings. (#1234) 2018-05-15 16:37:40 +02:00
checksizeof.cpp Use for arithOperationsOnVoidPointer messages 2018-09-26 17:58:22 +02:00
checksizeof.h Fix override warnings. (#1234) 2018-05-15 16:37:40 +02:00
checkstl.cpp Fix some FPs in mismatchingContainerExpression (#1402) 2018-09-30 14:49:58 +02:00
checkstl.h Running astyle. There is no functional change intended. 2018-09-21 08:53:09 +02:00
checkstring.cpp Fix false positives in unknownEvaluationOrder when using followVar (#1391) 2018-09-28 08:38:24 +02:00
checkstring.h Clarify warnings when char literals are converted to bool in conditions 2018-07-21 18:40:06 +02:00
checktype.cpp Refactoring; use range for loop 2018-07-13 16:57:17 +02:00
checktype.h Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
checkuninitvar.cpp Ticket #8734: Skip static member variables in CheckUninitVar. (#1388) 2018-09-22 16:52:34 +02:00
checkuninitvar.h Fix override warnings. (#1234) 2018-05-15 16:37:40 +02:00
checkunusedfunctions.cpp Fixed #8677 (False positive: unused method) 2018-08-08 11:31:35 +02:00
checkunusedfunctions.h Rename private member variables 2018-06-17 18:58:27 +02:00
checkunusedvar.cpp Improved const correctness of local variables. There are no functional changes intended. (#1392) 2018-09-23 20:24:51 +02:00
checkunusedvar.h Rename private member variables 2018-06-17 19:04:06 +02:00
checkvaarg.cpp Rename _tokenizer, _settings, _errorLogger 2018-06-16 16:10:28 +02:00
checkvaarg.h Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
config.h Removed non-standard code annotations with __attribute__ 2016-01-09 09:33:56 +01:00
cppcheck.cpp Attempt to fix regression for pcre_free_study(). 2018-09-26 08:07:26 +02:00
cppcheck.h Ticket 7792: Suppression both exit_code and syntaxError when call cppcheck suppressions (#1345) 2018-09-08 11:09:49 +02:00
cppcheck.natvis Fixed Visual Studio Natvis file after recent refactoring (#1299) 2018-07-09 08:27:26 +02:00
cppcheck.vcxproj Copy platforms/ directory to bin/ 2018-02-27 09:09:12 +01:00
cppcheck.vcxproj.filters Fixed travis build by replacing Token::Match by simpleMatch() 2017-03-16 21:15:10 +01:00
errorlogger.cpp Fixed a typo. There are no functional changes intended. 2018-10-08 13:58:21 +02:00
errorlogger.h Travis: Fix xml validation by readding the line attribute in <location>. 2018-09-25 06:14:26 +02:00
importproject.cpp Fixed #8061 (Problems with handling of --project argument) 2018-08-31 16:06:52 +02:00
importproject.h fixed issue 8661: Misleading error message when compilation database is not recognized 2018-07-25 16:26:25 +02:00
lib.pri Added --cppcheck-build-dir flag 2016-10-29 12:18:11 +02:00
library.cpp Fixed #8697 (noreturn output stream) 2018-08-21 06:32:33 +02:00
library.h Rename Library::isargvalid() 2018-07-15 23:05:48 +02:00
matchcompiler.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
mathlib.cpp Rename private member variables 2018-06-17 17:04:34 +02:00
mathlib.h Rename private member variables 2018-06-17 17:04:34 +02:00
path.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
path.h Updated copyright year 2018-01-14 15:37:52 +01:00
pathmatch.cpp Rename private member variables 2018-06-17 19:20:07 +02:00
pathmatch.h Rename private member variables 2018-06-17 19:20:07 +02:00
pcrerules.pri
platform.cpp Updated copyright year 2018-03-31 20:59:09 +02:00
platform.h Updated copyright year 2018-03-31 20:59:09 +02:00
preprocessor.cpp Fixed handling of macros with known value defined in header file in configuration splitting (#8404) 2018-10-08 16:38:47 +02:00
preprocessor.h Renamed private member file0 2018-06-17 09:06:16 +02:00
settings.cpp Renamed --debug to --debug-simplified 2018-08-05 11:19:20 +02:00
settings.h Renamed --debug to --debug-simplified 2018-08-05 11:19:20 +02:00
standards.h Updated copyright year 2018-01-14 15:37:52 +01:00
suppressions.cpp Suppressions::NO_LINE : fixed comparisons 2018-09-23 16:50:51 +02:00
suppressions.h suppressions: Avoid duplicate comparison. 2018-10-04 17:13:11 +02:00
symboldatabase.cpp isVariableDeclaration: Handle pointer to const pointer (#1395) 2018-09-25 06:19:26 +02:00
symboldatabase.h Code cleanup 2018-06-20 10:39:21 +02:00
templatesimplifier.cpp Add union support to template simplifier. (#1398) 2018-09-26 06:23:12 +02:00
templatesimplifier.h Remove out of line member functions of instantiated template classes. (#1377) 2018-09-14 14:16:34 +02:00
timer.cpp Rename private member variables 2018-06-17 17:20:16 +02:00
timer.h Rename private member variables 2018-06-17 17:20:16 +02:00
token.cpp Fixed #8681 (ValueFlow: Container size) 2018-08-10 11:29:16 +02:00
token.h Fixed #8683 (Using deleted token with multiple template instantiations.) (#1353) 2018-09-01 11:26:10 +02:00
tokenize.cpp Fixed #8664 (setVarId: Wrongly set varid for lambda argument) 2018-10-07 20:40:59 +02:00
tokenize.h Fixed #8683 (Using deleted token with multiple template instantiations.) (#1353) 2018-09-01 11:26:10 +02:00
tokenlist.cpp Fixed #8747 (Syntax error, AST broken (a = --*b)) 2018-09-27 19:26:08 +02:00
tokenlist.h Renamed _isC and _isCPP 2018-06-16 16:28:03 +02:00
utils.h Revert "Refactoring endsWith utility function" 2018-07-25 16:14:43 +02:00
valueflow.cpp Fix false positives in unknownEvaluationOrder when using followVar (#1391) 2018-09-28 08:38:24 +02:00
valueflow.h Fixed #8681 (ValueFlow: Container size) 2018-08-10 11:29:16 +02:00
version.h Set version to 1.84.99/1.85 dev 2018-06-25 21:03:43 +02:00
version.rc