Robert Reif
|
ba6c2ca310
|
fix #2602 (segmentation fault of cppcheck ( class A {A& operator=(const A&); }; ))
|
2011-02-22 06:47:28 -05:00 |
Robert Reif
|
5984b6b53f
|
fix #2595 (False positive Technically the member function 'A::foo' can be const)
|
2011-02-20 20:01:54 -05:00 |
Robert Reif
|
537ac0cb34
|
use func->start rather than searching for '{' in CheckClass::privateFunctions
|
2011-02-20 08:36:06 -05:00 |
Robert Reif
|
7dd8a3283a
|
fix comment in CheckClass::initializeVarList
|
2011-02-19 20:09:07 -05:00 |
Robert Reif
|
fef1142997
|
fix #2592 (False positive: 'operator=' should return reference to self)
|
2011-02-19 20:02:16 -05:00 |
Daniel Marjamäki
|
227a6100f7
|
astyle formatting
|
2011-02-11 19:31:37 +01:00 |
Robert Reif
|
b8c5426bb8
|
fix #2567 Unused private function when implemented in different file
|
2011-02-11 08:00:41 -05:00 |
Raphael Geissert
|
f8e2d50e6f
|
Use Token::simpleMatch where no special patterns are needed
|
2011-02-02 13:27:02 -06:00 |
Raphael Geissert
|
8d5863133c
|
Use Token::simpleMatch where no patterns are used
|
2011-02-02 13:27:01 -06:00 |
Raphael Geissert
|
cf2b6f7bc1
|
Remove useless spacing at the end of *Match strings
|
2011-02-02 13:27:01 -06:00 |
Greg Hewgill
|
be195a72c9
|
initialise Check::_name in constructor rather than relying on virtual Check::name()
|
2011-02-02 22:58:25 +13:00 |
Daniel Marjamäki
|
524498e439
|
Tokenizer: collapse operator function names into a single token. ticket: #2519
|
2011-01-27 18:44:20 +01:00 |
Daniel Marjamäki
|
1e25d74ba4
|
Class: better check if there are friends. ticket: #2459
|
2011-01-22 17:35:54 +01:00 |
Daniel Marjamäki
|
9551332321
|
Fixed #2459 (False positive with unused private function and friend)
|
2011-01-22 13:00:03 +01:00 |
Robert Reif
|
767e01e24a
|
Fixed #2478 (Crash when trying to analyze files (CheckClass::checkReturnPtrThis))
|
2011-01-21 19:54:41 +01:00 |
Robert Reif
|
d73709a620
|
Symbol database: rename variables. ticket: #2468
|
2011-01-21 07:42:41 +01:00 |
Pete Johns
|
94aafa482c
|
Fixed #2480 (false positive on unused private function)
|
2011-01-19 20:32:08 +11:00 |
Pete Johns
|
ea01c04108
|
Added parenths to fix build breakage.
|
2011-01-18 21:07:33 +11:00 |
Robert Reif
|
8631ee65a3
|
Fixed #2474 (false positive: Member variable 'A::m_SemVar' is not initialised in the constructor.)
|
2011-01-18 07:34:11 +01:00 |
Robert Reif
|
c994508c3e
|
Symbol database: Refactor the variables API. ticket: #2468
|
2011-01-18 07:32:06 +01:00 |
Robert Reif
|
959e10cee5
|
Symbol database: renamed classes. ticket: #2468
|
2011-01-17 18:29:19 +01:00 |
Robert Reif
|
bf9528558e
|
Symbol database: pulled out classes into global scope. ticket: #2468
|
2011-01-17 07:21:59 +01:00 |
Robert Reif
|
d341b42b0c
|
Symbol database: increased constness. ticket: #2468
|
2011-01-16 18:13:54 +01:00 |
Robert Reif
|
66be74a5af
|
Symbol database: Refactorings. Move check-specific code to check. Ticket: #2468
|
2011-01-16 16:37:11 +01:00 |
Daniel Marjamäki
|
a97e28491f
|
Fixed #2407 (False positive: unused private function)
|
2011-01-16 12:16:31 +01:00 |
Robert Reif
|
0f6644e1ea
|
Symbol database: Refactorings
|
2011-01-16 11:18:12 +01:00 |
Reijo Tomperi
|
226b605774
|
Change year 2010 -> 2011 in license texts.
|
2011-01-09 21:33:36 +02:00 |
Daniel Marjamäki
|
033e759c39
|
command line: added 'information' id to enable
|
2011-01-05 21:20:21 +01:00 |
Markus Elfring
|
e459ed1de3
|
Fixed #2389 (mistakable warning from 'CheckClass::uninitVarError')
|
2011-01-03 19:03:42 +01:00 |
Daniel Marjamäki
|
3c238882a2
|
Fixed TODO testcase. Use symbol database instead of token list. Ticket: #2375
|
2011-01-01 17:54:37 +01:00 |
Kimmo Varis
|
12f2850777
|
Improve the message about const function.
See discussion thread:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192
|
2010-12-26 23:44:03 +02:00 |
Daniel Marjamäki
|
be46d453c4
|
Information: Added new severity
|
2010-12-22 19:53:17 +01:00 |
vBm
|
46a11183a5
|
Fixed some spelling mistakes
|
2010-12-15 18:45:53 +01:00 |
Robert Reif
|
b6acfa809b
|
Symbol database: creates a single symbol database within Tokenizer on demand and changes all checks to use it
|
2010-12-07 07:08:49 +01:00 |
Robert Reif
|
04b811b74f
|
Fixed #2273 (False Positive: Member variable not initialized in the constructor)
|
2010-12-04 17:47:00 +01:00 |
Robert Reif
|
1bc8a2b6ba
|
Fixed #2172 (False positive: struct is not initialized in constructor)
|
2010-12-02 07:35:01 +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 |
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
|
1842a122da
|
reuse symbol database in checkmemoryleak.cpp. ticket: #2219
|
2010-11-23 18:41:07 +01:00 |
Robert Reif
|
27cae2f0d7
|
Symbol database: add global space and add all global functions and variables to it. Ticket: #2198
|
2010-11-20 07:26:50 +01:00 |
Robert Reif
|
77a5d4e399
|
Fixed #2204 (False positive when using const class members)
|
2010-11-16 07:30:55 +01:00 |
Robert Reif
|
6a06970e1b
|
CheckClass: Refactoring - organize each check so the check function comes first, any helper functions come second, and the message functions come last. Ticket: #2198
|
2010-11-14 06:50:33 +01:00 |
Robert Reif
|
894586f4dd
|
Fixed #2198 (SymbolDatabase: separate SymbolDatabase from CheckClass)
|
2010-11-13 07:31:56 +01:00 |
Robert Reif
|
0fffa1f651
|
This patch fixes a bug I introduced in the previous patch. It also speeds up nested class parsing by skipping the entire class implementation using { link to jump to } rather than parsing for }. Ticket: #2172
|
2010-11-12 19:29:20 +01:00 |
Robert Reif
|
4ddf6f3b44
|
Symbol database: code cleanups
|
2010-11-10 16:52:52 +01:00 |
Daniel Marjamäki
|
508c171945
|
Symbol database: add support for class inline functions with classes
|
2010-11-09 17:06:07 +01:00 |
Robert Reif
|
36b03bdd3e
|
Fixed #2179 (Segmentation fault in assignment operator)
|
2010-11-09 06:58:19 +01:00 |
Daniel Marjamäki
|
c2bf3647a4
|
Fixed #2178 (segmentation fault of cppcheck)
|
2010-11-08 19:47:19 +01:00 |
Robert Reif
|
23b50a3d81
|
Symbol database: delay finding class variables until after all classes have been found.
|
2010-11-08 17:12:25 +01:00 |
Robert Reif
|
662cd27f87
|
Symbol database: fixed problem
|
2010-11-06 20:27:12 +01:00 |