Daniel Marjamäki
|
4d22ada078
|
Fixed #5839 (False positive: Function can be const, if this is passed to functor)
|
2016-09-04 16:36:04 +02:00 |
Robert Reif
|
73e1378af8
|
Fixed #7661 (False positive: Function parameter 'e' should be passed by reference.)
|
2016-08-13 21:25:57 +02:00 |
PKEuS
|
17ccb0fbe6
|
CheckClass::checkMemsetType(): Skip arrays of pointers (#7456)
|
2016-05-04 13:38:36 +02:00 |
Lauri Nurmi
|
996c9244d8
|
Update copyright year to 2007-2016.
|
2016-01-01 15:34:45 +02:00 |
Matthias Krüger
|
246147c6e6
|
TestClass::memsetOnClass(): remove duplicate ASSERT_EQUALS() call.
|
2015-12-05 18:31:33 +01:00 |
Alexander Mai
|
e69377d5a8
|
#7183 CheckClass::checkMemset() uint overflow. Plus some minor refactoring
|
2015-12-05 18:22:01 +01:00 |
PKEuS
|
308fd1ba50
|
Fixed false positive 'noCopyConstructor' for static member variable (#7198)
|
2015-12-04 18:26:49 +01:00 |
Daniel Marjamäki
|
0f9d90d2be
|
Changed Copyrights. Removed my name.
|
2015-11-18 20:04:50 +01:00 |
Alexander Mai
|
af2ada9258
|
#6692 False positive: Hidden member variable - parent class with same name in different namespace. Add regression test for FP which got fixed in 1.70 already
|
2015-11-14 14:44:27 +01:00 |
Daniel Marjamäki
|
b10110b5ac
|
CheckClass: Removed noExplicitCopyMoveConstructorError after discussion in http://sourceforge.net/p/cppcheck/discussion/general/thread/b2ce9d3d/.
|
2015-11-13 12:48:26 +01:00 |
PKEuS
|
aca8a69f5e
|
Skip over lambdas in CheckClass::checkPureVirtualFunctionCall() (#4992)
|
2015-11-09 20:15:26 +01:00 |
PKEuS
|
a5f577d179
|
Support range-based for-loop in CheckClass::checkConst() (#5514)
|
2015-10-26 18:48:01 +01:00 |
PKEuS
|
3a5cef8a7e
|
Refactorization: Improved usage of Settings instances in test suite
|
2015-10-07 18:40:03 +02:00 |
Simon Martin
|
0f7e20c11d
|
Ticket #7017: Properly interpret operator= return type for template classes in CheckClass::operatorEq.
|
2015-10-02 23:23:44 +02:00 |
Simon Martin
|
2e2f9facf5
|
Ticket #6953: Fixed flawed logic in PR#650.
|
2015-08-27 23:35:22 +02:00 |
Simon Martin
|
8beb95e179
|
Fix CheckClass::checkMemset for arrays of pointers.
|
2015-08-23 19:57:58 +02:00 |
PKEuS
|
b0bf69bae7
|
Fixed false positive #6763 and reordered conditions
Ran AStyle
|
2015-08-14 12:50:45 +02:00 |
PKEuS
|
176b3925b3
|
Removed "verify" code in testrunner. Fixing its messages reduces the accuracy of the test suite.
|
2015-07-25 14:18:41 +02:00 |
PKEuS
|
a3eb725c3f
|
Support C++03-style of declaring a copy ctor as deleted (#6585)
|
2015-07-21 13:46:50 +02:00 |
Daniel Marjamäki
|
cf53074fd9
|
astyle formatting
|
2015-07-14 18:09:28 +02:00 |
Antti Tuppurainen
|
a75872a15e
|
Fix uniform init in out-of-class ctor-initer
|
2015-07-14 18:09:07 +02:00 |
amai2012
|
480a5672b0
|
#6298 stack overflow in Scope::findFunctionInBase (endless recursion). Fix handling of circular class hierarchy
|
2015-07-01 00:04:01 +02:00 |
Daniel Marjamäki
|
ad6db2ba81
|
Reverted 105de8e917 , new checker had FPs that need to be fixed.
|
2015-04-25 15:35:31 +02:00 |
Gustav Palmqvist
|
105de8e917
|
#220 uninitialized variable: using variable in ctor before it has been initialized. Implement new check usageBeforeInitialization
|
2015-04-07 22:01:13 +02:00 |
Matthias Krüger
|
592177200a
|
don't print warning message if --enable=warning is not given.
message was of type:
(warning) Call of pure virtual function 'foo' in constructor.
|
2015-04-06 13:34:44 +02:00 |
PKEuS
|
bc5132e0ac
|
Refactorization: Moved declaration of errout, ... to testsuite.h, uniformized style
|
2015-03-11 22:54:43 +01:00 |
PKEuS
|
cd84d78e92
|
Ran AStyle, fixed VS2015 warning in symboldatabase.h
|
2015-03-11 20:26:53 +01:00 |
Jakub Melka
|
e1e1dbfe97
|
Ticket #695: Fixed VS 2010 issue, switched to "style" severity, changed error messages and updated unit tests
|
2015-03-10 19:35:12 +01:00 |
Jakub Melka
|
2af9212b16
|
Ticket #695: new style check : explicit declaration of ctor
|
2015-03-07 20:07:54 +01:00 |
Daniel Marjamäki
|
b43c2de63a
|
refactor cfg testing in TestClass
|
2015-02-11 06:29:33 +01:00 |
PKEuS
|
21cb0cfd60
|
Take simplifyIfNotNull and simplifyIfNot out of simplifyTokenList1 (first step for #6072)
|
2015-01-31 20:12:02 +01:00 |
Dmitry-Me
|
c79bfdce2c
|
CheckClass: Better checking of what operator= returns
|
2015-01-24 11:18:33 +01:00 |
Daniel Marjamäki
|
ff11ba9847
|
Updated copyright year to 2015
|
2015-01-03 12:14:58 +01:00 |
Dmitry-Me
|
14f13afa0a
|
Don't care which type protected operator= returns
|
2014-12-26 15:38:22 +01:00 |
Robert Reif
|
0dad8b64e8
|
Fixed #6268 (False positive functionStatic (inconclusive) - nested namespaces)
|
2014-11-27 06:29:33 +01:00 |
Dmitry-Me
|
f926958acb
|
Fix false positive about return type when there's =delete in operator= declaration
|
2014-11-25 15:52:52 +01:00 |
Daniel Marjamäki
|
051d42ae6b
|
astyle formatting
|
2014-11-20 14:20:09 +01:00 |
orbitcowboy
|
f5d804f71a
|
running astyle
|
2014-11-20 10:13:03 +01:00 |
Robert Reif
|
d12f14844a
|
Fixed #6279 (False Positive: Member variable 'Fred::i' is not initialized in the constructor)
|
2014-11-20 06:18:29 +01:00 |
PKEuS
|
e5d63195cb
|
Fixed #5983: Support storing pointers/references to member variables in CheckClass::checkConst()
|
2014-11-02 13:38:03 +01:00 |
Dmitry-Me
|
1e298a31cf
|
Refactoring tests. Use utility function to warn about unsimplified code in tests.
|
2014-09-13 12:59:32 +02:00 |
Frank Zingsheim
|
8c5013adda
|
Fixed #6073
|
2014-09-07 21:53:32 +02:00 |
PKEuS
|
f01d7543f6
|
#6077: Don't warn about memcpy/memmove on class containing floats.
|
2014-08-20 15:12:53 +02:00 |
PKEuS
|
8188578cf2
|
SymbolDatabase: Fixed handling of nested types for function arguments
Removed unnecessary loops between var->typeStartToken() and var->typeEndToken()
|
2014-08-19 11:55:00 +02:00 |
PKEuS
|
c4635cf698
|
Improved check: portability message when calling memset on a class with floating point numbers (#5421)
|
2014-08-08 09:49:09 +02:00 |
PKEuS
|
8130fda4ae
|
Implemented support for C++11 uniform initialization in several checks.
|
2014-08-05 16:11:42 +02:00 |
PKEuS
|
d3501e77a8
|
Moved several tests from testclass.cpp to testconstructors.cpp, fixes test failure introduced recently.
|
2014-08-05 12:19:52 +02:00 |
PKEuS
|
804e055eee
|
New check: initialization by itself in initializer list (#3982)
Refactorizations:
- Rearranged code in checkclass.cpp to increase readability
- Several fixes for testclass.cpp tests.
|
2014-08-05 11:50:08 +02:00 |
Alexander Mai
|
55e45add4a
|
Fix compiler warnings
|
2014-07-17 20:04:56 +02:00 |
Daniel Marjamäki
|
cb9d67b9ec
|
Fixed #5901 (False positive: (error) Using 'memcpy' with vector of uint8_t items)
|
2014-07-09 15:00:06 +02:00 |