Edoardo Prezioso
|
4cad5d4df4
|
Workaround fixes to shut up some cppcheck '--inconclusive' whinings.
|
2011-12-13 00:24:34 +01:00 |
Daniel Marjamäki
|
af7bf5c805
|
removed 'explicit constructors' check. see comments in pull request #51 for the reasons.
|
2011-11-02 17:12:46 +01:00 |
Daniel Marjamaki
|
132f0e12d1
|
CheckClass: Added classInfo about explicit checking
|
2011-10-30 09:54:02 +01:00 |
Richard Quirk
|
2ca932a3ae
|
Add checks for explicit constructors
Single-argument constructors should be explicit. Constructors with
multiple arguments should not be marked explicit.
|
2011-10-29 18:24:16 +02:00 |
Daniel Marjamäki
|
6f8e42a5af
|
changed the astyle formatting flags
|
2011-10-13 20:53:06 +02:00 |
Robert Reif
|
540207533b
|
fix #3008 (New check: Order of initialisation list)
|
2011-09-27 21:07:37 -04:00 |
Robert Reif
|
a39444a40f
|
change CheckClass::operatorEqToSelf to make better use of the symbol database
|
2011-03-31 19:53:35 -04:00 |
Robert Reif
|
cf65a73c47
|
fix CheckClass::operatorEq to check return type more closely (to match check description)
|
2011-03-31 19:40:28 -04:00 |
Robert Reif
|
468a983db1
|
use the symbol database to look up base classes in CheckClass::noMemset check
|
2011-03-22 21:24:28 -04:00 |
Robert Reif
|
27f4b8b88b
|
Convert CheckClass::noMemset to use the symbol database to lookup types. This adds better support for namespaces and nested classes.
|
2011-03-12 22:41:21 -05:00 |
Greg Hewgill
|
1ec6a642dc
|
Revert "Check for memset on nested structs (ticket #1288)"
Turns out this fix is incomplete.
This reverts commit a084697410 .
|
2011-03-10 20:19:31 +13:00 |
Greg Hewgill
|
a084697410
|
Check for memset on nested structs (ticket #1288)
|
2011-03-09 23:02:49 +13:00 |
Greg Hewgill
|
70b4076111
|
refactor noMemset so it recursively checks parent classes for non-memset-compatible things
|
2011-03-09 21:29:30 +13:00 |
Robert Reif
|
f596a6959e
|
code cleanup and add more tests to CheckClass::noMemset()
|
2011-02-24 19:59:50 -05:00 |
Greg Hewgill
|
be195a72c9
|
initialise Check::_name in constructor rather than relying on virtual Check::name()
|
2011-02-02 22:58:25 +13: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
|
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 |
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
|
38e7209d26
|
Fixed #2373 (Using XML2 in --errorlist output)
|
2010-12-29 12:43:29 +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
|
1842a122da
|
reuse symbol database in checkmemoryleak.cpp. ticket: #2219
|
2010-11-23 18:41:07 +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
|
4ddf6f3b44
|
Symbol database: code cleanups
|
2010-11-10 16:52:52 +01:00 |
Robert Reif
|
36b03bdd3e
|
Fixed #2179 (Segmentation fault in assignment operator)
|
2010-11-09 06:58:19 +01:00 |
Robert Reif
|
003f99da82
|
Symbol database: Fixed bug. Ticket: #2149
|
2010-11-04 06:58:37 +01:00 |
Robert Reif
|
0fe72839d8
|
Symbol Database: Better handling of namespaces. Ticket: #2149
|
2010-11-02 18:30:57 +01:00 |
Robert Reif
|
a58094e827
|
Fixed #2089 (False negative: Function can be const (calling const function))
|
2010-10-13 07:26:41 +02:00 |
Daniel Marjamäki
|
a7cf68b9ef
|
Check Class: Removed the 'operator= should not return a const reference'
|
2010-09-18 20:05:34 +02:00 |
Daniel Marjamäki
|
6ba5385878
|
CheckClass: the 'virtual destructor' checking is currently inactive
|
2010-09-18 19:03:15 +02:00 |
Robert Reif
|
6de1711515
|
Symbol database: reduce false negatives for 'uninitialized variable' when calling base class function. ticket: #1895
|
2010-09-12 22:40:51 +02:00 |
Robert Reif
|
69afc0a0db
|
Symbol database: fixed false positive. ticket: #1895
|
2010-09-11 08:23:30 +02:00 |
Robert Reif
|
6d35396720
|
Symbol database: refactoring - differentiate between member data initialization and assignment and save the order of variable declarations. makes it possible to create some additional checks. ticket: #1895
|
2010-09-09 07:26:40 +02:00 |
Robert Reif
|
cb318c21e3
|
Symbol database: adds support for inline functions returning function pointers and starts to convert privateFunctions over to the symbol database. Ticket: #1895
|
2010-09-02 07:40:20 +02:00 |
Daniel Marjamäki
|
dcc02166c6
|
Fixed #1998 (VS compiler warning with current HEAD)
|
2010-08-30 21:45:26 +02:00 |
Robert Reif
|
96d73c189c
|
Symbol database: better handling of operator functions. Ticket: #1895
|
2010-08-30 17:14:20 +02:00 |
Robert Reif
|
b1bf201a8a
|
Symbol database: Refactorings. Ticket: #1895
|
2010-08-28 11:23:23 +02:00 |
Daniel Marjamäki
|
d45186d645
|
Added --debug-warnings that we can use to enable various debug warnings
|
2010-08-27 20:28:00 +02:00 |
Daniel Marjamäki
|
cfa7b4906e
|
Symbol database: bug fixes. Ticket: #1895
|
2010-08-18 22:42:04 +02:00 |
Robert Reif
|
86f1718b1c
|
Symbol database: Fixed the error reporting so errors are shown in the gui. Ticket: #1895
|
2010-08-17 17:20:54 +02:00 |
Robert Reif
|
556ef9afcf
|
Symbol database: report error when it is detected that a variable id is missing. Ticket: #1928
|
2010-08-15 08:03:27 +02:00 |
Robert Reif
|
ab7bb876f9
|
Symbol database: Refactoring virtual destructors check. Ticket: #1895
|
2010-08-13 18:34:02 +02:00 |
Robert Reif
|
b92644a30c
|
Symbol database: refactoring variable handling. Ticket: #1895
|
2010-08-13 07:34:34 +02:00 |
Robert Reif
|
c88aa242e8
|
Symbol database: better handling of 'friend'. ticket: #1895
|
2010-08-11 22:36:04 +02:00 |
Robert Reif
|
03c436a735
|
Symbol database: Refactoring
|
2010-08-10 18:01:33 +02:00 |
Robert Reif
|
12523bc745
|
Symbol database: Enhancements and fixes. Ticket: #1895
|
2010-08-09 17:50:26 +02:00 |