cppcheck/lib
Paul Fultz II cf1ad5087a Extend constStatement checker
This reworks constStatement to find more issues. It catches issue [8827](https://trac.cppcheck.net/ticket/8827):

```cpp
extern void foo(int,const char*,int);
void f(int value)
{
        foo(42,"test",42),(value&42);
}
```

It also catches from issue [8451](https://trac.cppcheck.net/ticket/8451):

```cpp
void f1(int x) {
    1;
    (1);
    (char)1;
    ((char)1);
    !x;
    (!x);
    ~x;
}
```

And also:

```cpp
void f(int x) {
    x;
}
```

The other examples are not caught due to incomplete AST.
2019-02-15 13:31:40 +01:00
..
CMakeLists.txt Fixed #7660 (cmake build does not handle simplecpp) 2016-08-06 18:21:54 +02:00
analyzerinfo.cpp Fix Cppcheck shadow variable warning 2018-11-03 19:41:25 +01:00
analyzerinfo.h Updated copyright year 2018-10-13 18:20:31 +02:00
astutils.cpp Update copyright year 2019-02-09 07:24:06 +01:00
astutils.h Update copyright year 2019-02-09 07:24:06 +01:00
check.cpp Updated copyright year 2018-10-13 18:20:31 +02:00
check.h Update copyright year 2019-02-09 07:24:06 +01:00
check64bit.cpp Rename _tokenizer, _settings, _errorLogger 2018-06-16 16:10:28 +02:00
check64bit.h Update copyright year 2019-02-09 07:24:06 +01:00
checkassert.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checkassert.h Update copyright year 2019-02-09 07:24:06 +01:00
checkautovariables.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checkautovariables.h Update copyright year 2019-02-09 07:24:06 +01:00
checkbool.cpp Use functions instead of comparing with enum (#1471) 2018-11-09 06:30:41 +01:00
checkbool.h Update copyright year 2019-02-09 07:24:06 +01:00
checkboost.cpp Rename _tokenizer, _settings, _errorLogger 2018-06-16 16:10:28 +02:00
checkboost.h Update copyright year 2019-02-09 07:24:06 +01:00
checkbufferoverrun.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checkbufferoverrun.h Update copyright year 2019-02-09 07:24:06 +01:00
checkclass.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checkclass.h Update copyright year 2019-02-09 07:24:06 +01:00
checkcondition.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checkcondition.h Update copyright year 2019-02-09 07:24:06 +01:00
checkexceptionsafety.cpp Refactoring; Use range for loops 2018-07-14 09:49:03 +02:00
checkexceptionsafety.h Update copyright year 2019-02-09 07:24:06 +01:00
checkfunctions.cpp Fix false positive: Invalid string argument with array (#1439) 2018-10-19 07:48:47 +02:00
checkfunctions.h Update copyright year 2019-02-09 07:24:06 +01:00
checkinternal.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checkinternal.h Update copyright year 2019-02-09 07:24:06 +01:00
checkio.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checkio.h Update copyright year 2019-02-09 07:24:06 +01:00
checkleakautovar.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checkleakautovar.h Update copyright year 2019-02-09 07:24:06 +01:00
checkmemoryleak.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checkmemoryleak.h Update copyright year 2019-02-09 07:24:06 +01:00
checknullpointer.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checknullpointer.h Update copyright year 2019-02-09 07:24:06 +01:00
checkother.cpp Extend constStatement checker 2019-02-15 13:31:40 +01:00
checkother.h Extend constStatement checker 2019-02-15 13:31:40 +01:00
checkpostfixoperator.cpp Refactoring: Use ranged for loop 2018-07-13 16:50:12 +02:00
checkpostfixoperator.h Update copyright year 2019-02-09 07:24:06 +01:00
checksizeof.cpp Use for arithOperationsOnVoidPointer messages 2018-09-26 17:58:22 +02:00
checksizeof.h Update copyright year 2019-02-09 07:24:06 +01:00
checkstl.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checkstl.h Update copyright year 2019-02-09 07:24:06 +01:00
checkstring.cpp Use functions instead of comparing with enum (#1471) 2018-11-09 06:30:41 +01:00
checkstring.h Update copyright year 2019-02-09 07:24:06 +01:00
checktype.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checktype.h Update copyright year 2019-02-09 07:24:06 +01:00
checkuninitvar.cpp UninitVar: Fix --experimental-fast issues 2019-02-10 19:00:01 +01:00
checkuninitvar.h UninitVar: use normal token list instead of simplified token list 2019-02-11 07:43:16 +01:00
checkunusedfunctions.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checkunusedfunctions.h Update copyright year 2019-02-09 07:24:06 +01:00
checkunusedvar.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checkunusedvar.h Update copyright year 2019-02-09 07:24:06 +01:00
checkvaarg.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checkvaarg.h Update copyright year 2019-02-09 07:24:06 +01:00
config.h Travis: Enable missingOverride checker 2019-01-13 12:21:01 +01:00
cppcheck.cpp Add --experimental-fast option 2019-02-09 14:40:50 +01:00
cppcheck.h Update copyright year 2019-02-09 07:24:06 +01:00
cppcheck.natvis Fixed Visual Studio Natvis file after recent refactoring (#1299) 2018-07-09 08:27:26 +02:00
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 Update copyright year 2019-02-09 07:24:06 +01:00
ctu.h Update copyright year 2019-02-09 07:24:06 +01:00
errorlogger.cpp Update copyright year 2019-02-09 07:24:06 +01:00
errorlogger.h Update copyright year 2019-02-09 07:24:06 +01:00
importproject.cpp Update copyright year 2019-02-09 07:24:06 +01:00
importproject.h Update copyright year 2019-02-09 07:24:06 +01:00
lib.pri CTU: Refactoring 2018-12-25 21:11:23 +01:00
library.cpp Update copyright year 2019-02-09 07:24:06 +01:00
library.h Rename Library::isargvalid() 2018-07-15 23:05:48 +02:00
matchcompiler.h
mathlib.cpp Update copyright year 2019-02-09 07:24:06 +01:00
mathlib.h Update copyright year 2019-02-09 07:24:06 +01:00
path.cpp Update copyright year 2019-02-09 07:24:06 +01:00
path.h Update copyright year 2019-02-09 07:24:06 +01:00
pathmatch.cpp Updated copyright year 2018-10-13 18:20:31 +02:00
pathmatch.h Updated copyright year 2018-10-13 18:20:31 +02:00
pcrerules.pri
platform.cpp Updated copyright year 2018-03-31 20:59:09 +02:00
platform.h Fix Cppcheck error message 2018-10-20 15:28:34 +02:00
preprocessor.cpp Update copyright year 2019-02-09 07:24:06 +01:00
preprocessor.h Renamed private member file0 2018-06-17 09:06:16 +02:00
settings.cpp settings: -Wreorder fix (#1664) 2019-02-12 09:07:59 +01:00
settings.h Add --experimental-fast option 2019-02-09 14:40:50 +01:00
standards.h Updated copyright year 2018-01-14 15:37:52 +01:00
suppressions.cpp Update copyright year 2019-02-09 07:24:06 +01:00
suppressions.h suppressions: Avoid duplicate comparison. 2018-10-04 17:13:11 +02:00
symboldatabase.cpp Run simplifyPlatformTypes on library return types (#1672) 2019-02-15 13:29:52 +01:00
symboldatabase.h Update copyright year 2019-02-09 07:24:06 +01:00
templatesimplifier.cpp Fixed #8962 ("(debug) Unknown type 'T'" with template typename parame… (#1671) 2019-02-14 11:48:59 +01:00
templatesimplifier.h Update copyright year 2019-02-09 07:24:06 +01:00
timer.cpp Rename private member variables 2018-06-17 17:20:16 +02:00
timer.h Update copyright year 2019-02-09 07:24:06 +01:00
token.cpp Update copyright year 2019-02-09 07:24:06 +01:00
token.h Update copyright year 2019-02-09 07:24:06 +01:00
tokenize.cpp Run simplifyPlatformTypes on library return types (#1672) 2019-02-15 13:29:52 +01:00
tokenize.h Run simplifyPlatformTypes on library return types (#1672) 2019-02-15 13:29:52 +01:00
tokenlist.cpp Run simplifyPlatformTypes on library return types (#1672) 2019-02-15 13:29:52 +01:00
tokenlist.h Run simplifyPlatformTypes on library return types (#1672) 2019-02-15 13:29:52 +01:00
utils.h Revert "Refactoring endsWith utility function" 2018-07-25 16:14:43 +02:00
valueflow.cpp astyle formatting 2019-02-09 08:48:10 +01:00
valueflow.h Update copyright year 2019-02-09 07:24:06 +01:00
version.h 1.87: Set versions 2019-02-09 09:07:27 +01:00
version.rc