PKEuS
|
6edec7bdce
|
Fixed false positive #4123.
|
2012-09-06 16:10:51 +02:00 |
Arpit Chaudhary
|
67e40a85e5
|
Improved check for shifting by negative values and removed false positives
|
2012-09-05 16:09:40 +02:00 |
PKEuS
|
536492d5f0
|
Applied two suggestions of XhmikosR:
- Added UTF8 signature to VS10 solution
- Prefer prefix operator++ (cppcheck catch)
|
2012-09-05 15:34:37 +02:00 |
PKEuS
|
f969530e1f
|
Revert "Fixed #4087" which was committed by accident.
This reverts commit 0bbef8d803 .
|
2012-09-05 13:57:57 +02:00 |
Nilesh Kumar
|
c7633fc73c
|
Fixed #3645
|
2012-09-05 13:48:00 +02:00 |
gaurav kaushik
|
9ad7dfd5fd
|
Fixed #211 and #214
|
2012-09-05 12:58:09 +02:00 |
PKEuS
|
e5b1a6ceb1
|
Merge branch 'master' of github.com:danmar/cppcheck
|
2012-09-05 12:18:11 +02:00 |
Zachary Blair
|
8546bcc94e
|
Fixed #2029 (new check: free invalid address)
|
2012-09-04 23:31:23 -07:00 |
PKEuS
|
0bbef8d803
|
Fixed #4087
|
2012-09-04 21:50:50 +02:00 |
Daniel Marjamäki
|
2197b84d78
|
astyle formatting
|
2012-09-04 16:29:23 +02:00 |
PKEuS
|
8c70778b70
|
Refactorization: Fixed several messages when self-checking cppcheck
|
2012-09-04 15:29:51 +02:00 |
PKEuS
|
8924e8af43
|
Fixed #4143: Give correct line numbers in checkunusedvar.cpp
|
2012-09-04 14:53:24 +02:00 |
anuraggarg011
|
913670d254
|
Fixed #3304 (simple cases)
|
2012-09-04 13:41:14 +02:00 |
kbajaj91
|
be716e81d3
|
Fixed #4138 - False positive about variable assigned a value that is never
used in loops
|
2012-09-04 13:06:04 +02:00 |
Edoardo Prezioso
|
f8591f9004
|
CheckOther::clarifyStatement: improved message to show what's the 'bad' and the 'good' expression.
|
2012-09-04 02:07:55 +02:00 |
Edoardo Prezioso
|
6fd60eebb0
|
Tokenizer: added a workaround for #3690 (Support MSVC's 'for each').
|
2012-09-03 20:23:53 +02:00 |
Edoardo Prezioso
|
6100776847
|
Tokenizer: remove unneeded initialization of strings explicitely with "".
|
2012-09-03 20:22:27 +02:00 |
anuraggarg011
|
bf11248a09
|
Fixed #1620 (tokenizer: simplify well known math functions)
|
2012-09-03 18:51:15 +02:00 |
anuraggarg011
|
b156c727b0
|
Fixed #3939: Support ****foo++;
|
2012-09-03 17:10:27 +02:00 |
Ankita Gupta
|
c3a65dca40
|
Fixed #3793 (improve check: calculation in sizeof)
|
2012-09-03 15:56:10 +02:00 |
Edoardo Prezioso
|
804fbe3f8f
|
Tokenizer::simplifyEmptyNamespaces: remove useless condition.
Token::deleteThis handles the !tok->next situation well.
|
2012-09-03 14:22:31 +02:00 |
PKEuS
|
27cafd495a
|
Don't bailout for noreturn functions in checkRedundantAssignments outside switch.
|
2012-09-03 12:03:30 +02:00 |
PKEuS
|
d98ee357d4
|
Fixed crash #4135 when using Q_DECLARE_METATYPE
|
2012-09-03 11:30:36 +02:00 |
PKEuS
|
2be2738c6e
|
Moved duplicate code into function in CheckOther::checkRedundantAssignment()
|
2012-09-03 10:46:51 +02:00 |
Kartik Bajaj
|
ea0cbbcf78
|
Fixed #1481
|
2012-09-02 18:50:17 +02:00 |
PKEuS
|
81ff721113
|
Fixed variable shadow warning
|
2012-09-02 17:00:16 +02:00 |
PKEuS
|
7bd732efe4
|
Invented a fix that compiles on GCC and doesn't crash.
|
2012-09-02 16:53:38 +02:00 |
PKEuS
|
794a491515
|
Fixed two other compilation errors on GCC.
|
2012-09-02 16:42:38 +02:00 |
PKEuS
|
8a474add19
|
Fixed compilation error - added missing function in symboldatabase.
|
2012-09-02 14:30:00 +02:00 |
deepak gupta
|
24659dee92
|
Fixed #4087
|
2012-09-02 14:26:39 +02:00 |
PKEuS
|
2d64b69cf4
|
New check: Detect redundant assignment to a variable and redundant copying to a buffer
This check partially replaces the check for redundant assignments in switch
|
2012-09-02 13:09:32 +02:00 |
Deepak Gupta
|
4202866100
|
Fixed #4096 (Improve check: Buffer overrun in for loop, postfix increment in array access)
|
2012-09-01 19:17:28 +02:00 |
pranav1509
|
6f6baa67e4
|
Added more patterns to redundant condition check.
|
2012-09-01 13:39:32 +02:00 |
PKEuS
|
c20adf91bf
|
Moved simplification of wide character string literals (L"foo") to tokenize(). Token::isLong flag used to indicate that string is a wchar_t literal.
|
2012-09-01 13:12:47 +02:00 |
PKEuS
|
dcf997007b
|
Incremented version numbers to 1.57 dev
|
2012-09-01 13:04:09 +02:00 |
Daniel Marjamäki
|
b8db27fcd1
|
1.56: Set versions
|
2012-09-01 10:54:15 +02:00 |
Daniel Marjamäki
|
d7e521845b
|
SymbolDatabase: Made function static after self-check suggestion
|
2012-09-01 10:46:09 +02:00 |
Daniel Marjamäki
|
769cd4503d
|
Preprocessor: Made function static after self-check suggestion
|
2012-09-01 10:32:27 +02:00 |
Daniel Marjamäki
|
15bc552b37
|
Tokenizer: Fixed possible NULL pointer dereference
|
2012-09-01 10:11:18 +02:00 |
Daniel Marjamäki
|
a8d419820b
|
Tokenizer: removed unused variable
|
2012-09-01 09:57:48 +02:00 |
Ankita-gupta
|
ff7373f46f
|
Fixed bug in Token::Match (#3720)
|
2012-08-30 13:33:19 +02:00 |
Edoardo Prezioso
|
0d26a79f2c
|
Tokenizer::simplifyEmptyNamespaces: new function.
It removes from the token list, if found, the following tokens: 'namespace %var% { }'. It won't involve C code.
|
2012-08-28 22:40:25 +02:00 |
PKEuS
|
bbce79d7b3
|
Small refactorization: Handle std::map more efficient in setVarIdStructMembers()
|
2012-08-28 12:57:11 +02:00 |
PKEuS
|
ea85dd305a
|
Fixed #4086: Set varId in initialization list.
|
2012-08-28 12:44:40 +02:00 |
Daniel Marjamäki
|
9fe9944adb
|
Fixed #4034 (false positive:(error) Dereferencing 'cfileP' after it is deallocated / released)
|
2012-08-28 06:38:38 +02:00 |
Daniel Marjamäki
|
a7e67ac379
|
CheckObsoleteFunctions: asctime and ctime are not posix functions
|
2012-08-27 18:49:48 +02:00 |
Daniel Marjamäki
|
03f6a19dbd
|
astyle formatting
|
2012-08-27 15:52:03 +02:00 |
Daniel Marjamäki
|
0d82b08080
|
Fixed #4040 (false positive: (error) Uninitialized variable: iter)
|
2012-08-27 15:48:21 +02:00 |
PKEuS
|
671f1b83d9
|
Fixed false positive: Return value of std::remove() ignored when std::remove(char*) is called (#4093)
|
2012-08-27 14:28:16 +02:00 |
Daniel Marjamäki
|
263e13e924
|
astyle formatting
|
2012-08-27 06:33:56 +02:00 |