cppcheck/lib
Paul Fultz II 4e147a4c59 Add a check for duplicate if statements
This will warn for this:

```cpp
int f(int val)
{
	int i = 0;
	if( val & 0xff)
		i = 1;
	if( val & 0xff)
		i = 1;
        return i;
}
```
2019-01-09 20:41:01 +01:00
..
CMakeLists.txt
analyzerinfo.cpp
analyzerinfo.h
astutils.cpp Fixed #8365 (False positive on memory leak when assigned inside if statement) 2019-01-08 20:54:39 +01:00
astutils.h ValueFlow: better FwdAnalysis for complex expressions 2019-01-01 18:23:47 +01:00
check.cpp
check.h Export interfaces from cppcheck-core.dll used from testrunner. In turn remove ctu sources from testrunner which are obsolete now. 2018-12-28 23:09:44 +01:00
check64bit.cpp
check64bit.h
checkassert.cpp Patch assert warning lib/checkassert.cpp (#1543) 2018-12-28 15:25:22 +01:00
checkassert.h Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
checkautovariables.cpp
checkautovariables.h
checkbool.cpp
checkbool.h
checkboost.cpp
checkboost.h
checkbufferoverrun.cpp CTU: Refactoring 2018-12-25 21:11:23 +01:00
checkbufferoverrun.h CTU: Refactoring 2018-12-25 21:11:23 +01:00
checkclass.cpp Fixed #8111 (performance warning - member variable at constructor) 2019-01-07 21:26:58 +01:00
checkclass.h #7772 Add uninitMemberVarPrivate to errorlist (#1557) 2019-01-02 18:08:39 +01:00
checkcondition.cpp Add a check for duplicate if statements 2019-01-09 20:41:01 +01:00
checkcondition.h Add a check for duplicate if statements 2019-01-09 20:41:01 +01:00
checkexceptionsafety.cpp
checkexceptionsafety.h
checkfunctions.cpp
checkfunctions.h
checkinternal.cpp
checkinternal.h
checkio.cpp checkio: Add missing id "invalidScanfFormatWidth_smaller" to errorlist output (#1533) 2018-12-20 21:14:02 +01:00
checkio.h checkio: Add missing id "invalidScanfFormatWidth_smaller" to errorlist output (#1533) 2018-12-20 21:14:02 +01:00
checkleakautovar.cpp Fixed #8340 (incorrect memleak errors) 2019-01-09 19:50:41 +01:00
checkleakautovar.h Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
checkmemoryleak.cpp Fixed #8116 ([False positive] Invalid memory leak detection when using reference.) 2019-01-09 20:38:32 +01:00
checkmemoryleak.h CheckMemoryLeak: Cleanup the old memory leaks check 2018-12-17 18:12:50 +01:00
checknullpointer.cpp CheckNullPointer: Try to report all CTU issues not just the first found issue 2018-12-31 07:52:14 +01:00
checknullpointer.h CheckNullPointer: Add missing id 'nullPointerArithmeticRedundantCheck' to errorlist (#1535) 2018-12-29 21:34:22 +01:00
checkother.cpp Fixed #7384 (confuses syntax with variable name / "variable '(' is less than zero") 2018-12-31 18:36:06 +01:00
checkother.h Issue 8830: New check: Function argument evaluates to constant value 2018-12-17 06:04:24 +01:00
checkpostfixoperator.cpp
checkpostfixoperator.h
checksizeof.cpp
checksizeof.h
checkstl.cpp CTU: Reuse CheckNullPointer::isPointerDeRef in the nullpointer isUnsafeUsage 2018-12-29 09:26:57 +01:00
checkstl.h CheckStl: add missing error ID iterators2 (#1576) 2019-01-09 06:45:38 +01:00
checkstring.cpp
checkstring.h
checktype.cpp Clarify warning 2018-12-23 12:42:18 +01:00
checktype.h
checkuninitvar.cpp CheckUninitVar: Try to report all CTU issues not just the first found issue 2018-12-31 07:54:00 +01:00
checkuninitvar.h Fix warnings (#1541) 2018-12-28 12:59:05 +01:00
checkunusedfunctions.cpp CTU: Refactoring 2018-12-25 21:11:23 +01:00
checkunusedfunctions.h CTU: Refactoring 2018-12-25 21:11:23 +01:00
checkunusedvar.cpp Renamed FwdAnalysisAllPaths to FwdAnalysis 2018-12-31 18:00:47 +01:00
checkunusedvar.h CheckUnusedVar: Cleanup checker 2018-12-17 17:48:45 +01:00
checkvaarg.cpp
checkvaarg.h
config.h
cppcheck.cpp Fixed #7203 (Better syntax error, handle array declaration with @) 2019-01-01 09:45:41 +01:00
cppcheck.h
cppcheck.natvis
cppcheck.vcxproj Add ctu sources to VS projects 2018-12-27 22:11:40 +01:00
cppcheck.vcxproj.filters Add ctu sources to VS projects 2018-12-27 22:11:40 +01:00
ctu.cpp CTU: Use column in function id 2018-12-31 10:18:28 +01:00
ctu.h CTU: more warnings 2018-12-30 18:31:37 +01:00
errorlogger.cpp Fixed #8906 (Encoding error in XML message: info attribute) 2019-01-02 18:22:12 +01:00
errorlogger.h Refactoring: Combine replaceStr functions 2018-12-28 13:11:54 +01:00
importproject.cpp Fixed #8563 (CPPCheck not able to locate file through compilation database) 2019-01-05 23:11:43 +01:00
importproject.h Json: Use simple json library picojson to read compile databases 2019-01-05 17:45:07 +01:00
lib.pri CTU: Refactoring 2018-12-25 21:11:23 +01:00
library.cpp Library: Make loading of cfg files more robust. Saw a problem to use --library=gtk when the current folder has a folder 'gtk' 2018-12-24 08:37:33 +01:00
library.h
matchcompiler.h
mathlib.cpp Correct detection of Microsoft extensions in MathLib::isValidIntegerSuffix. Remove public overloaded implementation which was not used outside mathlib.cpp. (#1531) 2018-12-20 12:20:31 +01:00
mathlib.h Correct detection of Microsoft extensions in MathLib::isValidIntegerSuffix. Remove public overloaded implementation which was not used outside mathlib.cpp. (#1531) 2018-12-20 12:20:31 +01:00
path.cpp Fixed #8563 (CPPCheck not able to locate file through compilation database) 2019-01-05 23:11:43 +01:00
path.h Fixed #8563 (CPPCheck not able to locate file through compilation database) 2019-01-05 23:11:43 +01:00
pathmatch.cpp Updated copyright year 2018-10-13 18:20:31 +02:00
pathmatch.h
pcrerules.pri pro and pri files: remove unneeded empty lines, use spaces for consistency 2012-10-12 17:46:57 +02:00
platform.cpp
platform.h
preprocessor.cpp
preprocessor.h Renamed private member file0 2018-06-17 09:06:16 +02:00
settings.cpp
settings.h
standards.h
suppressions.cpp Suppressions::NO_LINE : fixed comparisons 2018-09-23 16:50:51 +02:00
suppressions.h
symboldatabase.cpp Improve trailing return type support. (#1520) 2018-12-13 06:34:10 +01:00
symboldatabase.h Improve trailing return type support. (#1520) 2018-12-13 06:34:10 +01:00
templatesimplifier.cpp template simplifier: Add flag variable to cache information about dec… (#1569) 2019-01-07 06:55:22 +01:00
templatesimplifier.h template simplifier: Add flag variable to cache information about dec… (#1569) 2019-01-07 06:55:22 +01:00
timer.cpp
timer.h
token.cpp astyle formatting 2018-12-21 13:54:59 +01:00
token.h Replace std::set::emplace with std::set::insert to make Cppcheck compilable in Slackware 14.0 2019-01-05 18:18:15 +01:00
tokenize.cpp Fixed #5953 (debug: varid0: Function::addArguments) (#1567) 2019-01-05 19:42:04 +01:00
tokenize.h Improve syntax errors for unmatched (){}[] 2019-01-05 11:56:21 +01:00
tokenlist.cpp Optimization: Removed unnecessary calls to simplifyPath(). The Caller should do this, and our callers (mainly the test suite) more or less do so, as they all supply just dummy paths ("test.cpp") 2018-12-18 20:33:45 +01:00
tokenlist.h
utils.h
valueflow.cpp Fix typos (#1568) 2019-01-06 17:15:57 +01:00
valueflow.h ValueFlow: Use FwdAnalysisAllPaths in ValueFlow to track complex expressions 2018-12-31 17:05:46 +01:00
version.h Set version to 1.86.99/1.87 dev 2018-12-08 11:53:37 +01:00
version.rc