Daniel Marjamäki
|
ab336b9088
|
Tokenizer: Added a few comments
|
2010-12-04 15:49:25 +01:00 |
Daniel Marjamäki
|
11a0ac4e07
|
xml2: rename '--xmlver' to '--xml-version'. bugfix in settings, change the type of _xml_version from bool to int.
|
2010-12-04 14:20:51 +01:00 |
Daniel Marjamäki
|
1f1df0645b
|
Merge branch 'xml2' of github.com:danmar/cppcheck
|
2010-12-04 14:06:57 +01:00 |
Kimmo Varis
|
d14b5039ce
|
Improve 'Use x.empty() instead of x.size() for emptiness' warning.
Improve the performance warning message as discussed at dev-forum:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192#p926
|
2010-12-04 10:15:48 +02:00 |
Kimmo Varis
|
8369d0ddd6
|
Improving 'Wrong assignment of auto variable' error message.
Improving the error message as discussed at dev-forum:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192&start=0
|
2010-12-04 09:55:20 +02:00 |
Robert Reif
|
758fc85a12
|
Memory leaks: Determine that some classes are not auto-deallocated. Reduce false negatives. Ticket: #2219 and #1618
|
2010-12-04 07:29:12 +01:00 |
Daniel Marjamäki
|
93ebdca313
|
Fixed #2264 (False positive: variable assigned value that is never used)
|
2010-12-03 18:45:49 +01:00 |
Robert Reif
|
b29568c81d
|
Fixed #2271 (Tokenizer: simplify Qt signals and slots)
|
2010-12-03 08:14:09 +01:00 |
Robert Reif
|
2cd8bc74cc
|
Symbol database: The symbol database has a bug where it can find an out of line constructor when looking for a destructor. Ticket: #2272
|
2010-12-03 07:35:06 +01:00 |
Daniel Marjamäki
|
8118e4755a
|
Fixed #2263 (False positive: variable assigned value that is never used)
|
2010-12-02 20:08:05 +01:00 |
Daniel Marjamäki
|
66f0948395
|
Preprocessor: Don't include system headers twice.
|
2010-12-02 18:07:32 +01:00 |
Robert Reif
|
eda4bcae29
|
Fixed #2271 (Tokenizer: simplify Qt signals and slots)
|
2010-12-02 17:41:49 +01:00 |
Daniel Marjamäki
|
af80384ae7
|
xml2: replace --xml2 with --xmlver=2. Ticket: #2106
|
2010-12-02 17:32:51 +01:00 |
Robert Reif
|
1bc8a2b6ba
|
Fixed #2172 (False positive: struct is not initialized in constructor)
|
2010-12-02 07:35:01 +01:00 |
Daniel Marjamäki
|
12c8eeff2c
|
xml2: Added experimental --xml2 result format. Ticket: #2106
|
2010-12-01 21:24:17 +01:00 |
Daniel Marjamäki
|
b4be71aa4e
|
checkuninitvar: fixed possible null-pointer dereference. thanks orbitcowboy for spotting it.
|
2010-12-01 18:05:57 +01:00 |
Robert Reif
|
f12c0c7ada
|
Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219
|
2010-12-01 18:00:55 +01:00 |
Kimmo Varis
|
1a3175741f
|
Fixed #2268 ([GUI] Generic class name is shown for 'Message' while correct one for 'Summary')
|
2010-12-01 17:55:22 +02:00 |
Robert Reif
|
43dcc51752
|
Fixed #2252 (segmentation fault with enable=all)
|
2010-11-30 19:52:42 +01:00 |
Robert Reif
|
f90236a183
|
Fixed #2252 (segmentation fault with enable=all)
|
2010-11-30 19:40:32 +01:00 |
Daniel Marjamäki
|
0081800a20
|
Fixed #2261 (False positive: memory leak)
|
2010-11-30 19:36:04 +01:00 |
Daniel Marjamäki
|
6761765a70
|
Fixed #2262 (False positive: Resource leak: fd)
|
2010-11-30 19:14:31 +01:00 |
Daniel Marjamäki
|
234b1e0098
|
Fixed #2265 (False positive: Uninitialized variable: path)
|
2010-11-30 18:40:36 +01:00 |
Daniel Marjamäki
|
065af5c444
|
Fixed #2251 (False positive: Possible null pointer reference)
|
2010-11-29 20:30:23 +01:00 |
Daniel Marjamäki
|
cdb685c83c
|
Fixed #2245 (False positive: Possible null pointer dereference)
|
2010-11-29 20:19:31 +01:00 |
Daniel Marjamäki
|
4de64209fb
|
Fixed #2248 (memory leak : pointer inserted in an object)
|
2010-11-29 19:53:34 +01:00 |
Kimmo Varis
|
6bf0e7eb08
|
Remove extra space char from begin of verbose message.
|
2010-11-29 20:27:31 +02:00 |
Kimmo Varis
|
f467e3120e
|
Improve redundant STL container condition -message.
Have separate summary and verbose messages. Se discusion at forum:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192
|
2010-11-29 20:24:08 +02:00 |
Kimmo Varis
|
8d8945ac57
|
Improve "Assert statement 'varname' -message.
Modifying the message so that we have short message and verbose
message. As discussed in dev-forum:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192
|
2010-11-29 20:12:21 +02:00 |
Daniel Marjamäki
|
add8584612
|
Fixed #2232 (segmentation fault of cppcheck)
|
2010-11-29 17:46:10 +01:00 |
Kimmo Varis
|
564d896715
|
Run astyle.
|
2010-11-28 23:29:06 +02:00 |
Kimmo Varis
|
85735e382f
|
Improve the 'suspicious code sizeof sizeof' -message.
As discussed at dev-forum:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192
|
2010-11-28 14:20:46 +02:00 |
Daniel Marjamäki
|
3068dbf22e
|
Preprocessor: Temporarily skip 'missing include' warnings for system headers in release mode. When the handling works better these messages should not be skipped. Ticket: #1937
|
2010-11-28 12:38:06 +01:00 |
Daniel Marjamäki
|
00da0adf25
|
Fixed #2236 (False positive: Assignment to itself)
|
2010-11-28 11:48:06 +01:00 |
Daniel Marjamäki
|
ea405d95c6
|
Fixed #2241 (Segfault checking a file)
|
2010-11-28 07:35:42 +01:00 |
Kimmo Varis
|
c9c6de24a6
|
Remove extra space from error message.
|
2010-11-27 20:54:02 +02:00 |
Kimmo Varis
|
2c3f9a9dce
|
Small fix to error message.
Start with capital letter and no space in beginning.
|
2010-11-27 20:41:08 +02:00 |
Daniel Marjamäki
|
095f725b3c
|
Fixed #2218 (False positive: Data is allocated but not initialized)
|
2010-11-27 17:34:54 +01:00 |
Daniel Marjamäki
|
03a92582ca
|
Fixed #2235 (false Resource leak)
|
2010-11-27 11:09:42 +01:00 |
Kimmo Varis
|
2ed14431fe
|
Ticket #2237 (Too long "short" message about iterator increment)
Improve the message for suspicious iterator increment in loop.
|
2010-11-27 10:57:26 +02:00 |
Kimmo Varis
|
837605b05b
|
Ticket #2239 (Too long "short" message about function parameter passing)
Have a proper short message for the parameter passing warning and
improve the message.
|
2010-11-27 10:46:34 +02:00 |
Kimmo Varis
|
9b4b8b2abe
|
Ticket #2238 (Improve postincrement warning message)
Have a proper short message for post ++/-- operators.
Pre ++/-- operators are usually more efficient for non-primitive types.
|
2010-11-27 10:30:57 +02:00 |
Kimmo Varis
|
87b69a10fa
|
Ticket #2240 (Improve no constructor-message).
Improve the message about missing constructor but having class
attributes. Have proper short and long messages.
|
2010-11-27 10:17:03 +02:00 |
Robert Reif
|
88a1448a07
|
Symbol database: refactor CheckMemoryLeakInClass::checkPublicFunctions to use the symbol database. Ticket: #2219
|
2010-11-25 21:04:49 +01:00 |
Daniel Marjamäki
|
0a744c0c6e
|
Fixed #2234 (Variable is assigned a value that is never used)
|
2010-11-25 18:16:11 +01:00 |
Robert Reif
|
ad91f414db
|
Symbol database: Avoid possible null pointer dereference if _settings is null. Ticket: #2219
|
2010-11-25 17:55:44 +01:00 |
Robert Reif
|
03b12c5494
|
Fixed #2230 (segmentation fault of cppcheck)
|
2010-11-25 07:43:39 +01:00 |
Robert Reif
|
08b86e0b7e
|
Fixed #2228 (False positive: Claims function can be const when it can not be (shared_ptr))
|
2010-11-25 07:15:33 +01:00 |
Daniel Marjamäki
|
fc57e06cdd
|
Fixed #2226 (segmentation fault of cppcheck)
|
2010-11-24 18:08:21 +01:00 |
Daniel Marjamäki
|
22a4dd2cc3
|
Fixed #2225 (false positive: variable is assigned a value that is never used '*(stack[0])+=arg')
|
2010-11-23 20:35:08 +01:00 |