Daniel Marjamäki
|
6b55acd7af
|
CheckIO: Changed severity for '.. aka' warnings to portability. If type is compatible then it's just a possible portability issue.
|
2016-09-11 17:05:01 +02:00 |
Simon Martin
|
f816fb811e
|
Ticket #7680: Properly handle ::delete during memory leak checks.
|
2016-09-10 14:55:50 +02:00 |
Daniel Marjamäki
|
ac1a869d60
|
unused struct members: don't warn about packed structs (#3088)
|
2016-09-05 17:27:12 +02:00 |
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 |
Daniel Marjamäki
|
ce7bfba416
|
Refactoring CheckClass::checkConst. Use continue.
|
2016-09-04 16:06:54 +02:00 |
Daniel Marjamäki
|
54db79305b
|
Redo refactoring of CheckClass::checkConst.
|
2016-09-04 16:02:59 +02:00 |
Daniel Marjamäki
|
530a05e40e
|
Refactoring CheckClass::checkConst. Use continue.
|
2016-09-04 15:38:56 +02:00 |
Daniel Marjamäki
|
03a6282ab3
|
Fixed #7338 (Library: method in base class)
|
2016-09-04 14:14:21 +02:00 |
Daniel Marjamäki
|
60f22bd4ee
|
Fixed #7477 (False positive 'Assigned value is never used' in multithreaded context)
|
2016-09-03 20:38:36 +02:00 |
Daniel Marjamäki
|
b97bdb5300
|
bump simplecpp to rev b50ced8ac14f8debab9e85e78036f881ff2b3965
|
2016-09-03 12:29:45 +02:00 |
Roberto Martelloni
|
28f1222dc2
|
CWE mapping of useAutoPointerMalloc, uselessCallsCompare, uselessCallsSwap, uselessCallsSubstr, uselessCallsEmpty, uselessCallsRemove, derefInvalidIterator, reademptycontainer, multiplySizeof, divideSizeof, stringLiteralWrite, incorrectStringCompare, literalWithCharPtrCompare, charLiteralWithCharPtrCompare, incorrectStringBooleanError, staticStringCompare, stringCompare, signConversion, truncLongCastAssignment, truncLongCastReturn, unusedFunction, unusedVariable, unusedAllocatedMemory, unreadVariable, unassignedVariable, unusedStructMember, postfixOperator, va_start_wrongParameter (#824)
Add an optional extended description…
|
2016-09-03 00:31:35 +02:00 |
Daniel Marjamäki
|
0e48625ff4
|
Fixed false positive when self-checking Cppcheck 'boolean result used in bitwise operation' when using boolean variables.
|
2016-08-29 04:09:36 +02:00 |
Daniel Marjamäki
|
24c6d92667
|
astyle formatting
[ci skip]
|
2016-08-29 04:08:38 +02:00 |
Daniel Marjamäki
|
939b42df06
|
Fixed #7134 (False positive redundantAssignment - assignment to local variable of unknown type)
|
2016-08-29 03:48:08 +02:00 |
Daniel Marjamäki
|
18cab009c1
|
Fix Token::Match pattern
|
2016-08-28 19:25:57 +02:00 |
Daniel Marjamäki
|
254e5675ff
|
Fixed #7573 (Tokenizer: FP caused by constant folding)
|
2016-08-28 19:11:05 +02:00 |
Daniel Marjamäki
|
fee0e4edfa
|
Fixed #7177 (MathLib: Does not handle '\xF6' properly)
|
2016-08-28 11:37:05 +02:00 |
Robert Reif
|
bf7ef56ef5
|
Fixed #7713 (False positive: %hhu in format string (no. 1) requires 'unsigned char' but the argument type is 'signed int'.)
|
2016-08-26 19:47:36 +02:00 |
orbitcowboy
|
87409ea6b3
|
Running astyle; Improved testing of std::find; std.cfg: Added support for istream::read and ifstream::read.
|
2016-08-25 19:17:07 +02:00 |
Roberto Martelloni
|
1db24ee070
|
CWE mapping of signedCharArrayIndex, unknownSignCharArrayIndex, suspiciousCase, suspiciousEqualityComparison, duplicateBranch, duplicateExpressionTernary, suspiciousSemicolon, incompleteArrayFill, redundantPointerOp, unusedLabelSwitch, unusedLabel, unknownEvaluationOrder, stlIfFind, useAutoPointerCopy
|
2016-08-25 15:40:23 +01:00 |
amai2012
|
ece478979b
|
Merge pull request #821 from boos/cwe-mapping-11
CWE mapping of invalidLengthModifierError, leakUnsafeArgAlloc, nullPointerDefaultArg, nullPointerRedundantCheck, raceAfterInterlockedDecrement.
|
2016-08-24 20:44:06 +02:00 |
Roberto Martelloni
|
01ee9ee5e6
|
CWE mapping of invalidLengthModifierError, leakUnsafeArgAlloc, nullPointerDefaultArg, nullPointerRedundantCheck, raceAfterInterlockedDecrement.
|
2016-08-24 15:37:14 +01:00 |
Dmitry-Me
|
667038a402
|
Merge overlapping patterns
|
2016-08-24 15:10:39 +03:00 |
Robert Reif
|
6043a27065
|
Fixed #7710 (%h and %hh printf type size specifiers not supported)
|
2016-08-24 12:47:11 +02:00 |
Daniel Marjamäki
|
706877df2d
|
astyle formatting
[ci skip]
|
2016-08-24 12:43:45 +02:00 |
amai2012
|
7cc2124176
|
Fix crash in parsing solution/project
|
2016-08-24 12:17:54 +02:00 |
amai2012
|
c0401c2ef5
|
Merge pull request #820 from boos/cwe-mapping-10
CWE mapping of functionConst, functionStatic, initializerList, badBitmaskCheck, knownConditionTrueFalse, invalidTestForOverflow, unhandledExceptionSpecification, coutCerrMisusage, invalidPrintfArgType_int
|
2016-08-24 09:48:01 +02:00 |
Roberto Martelloni
|
4c6f4f6708
|
CWE mapping of functionConst, functionStatic, initializerList, badBitmaskCheck, knownConditionTrueFalse, invalidTestForOverflow, unhandledExceptionSpecification, coutCerrMisusage,
invalidPrintfArgType_int
|
2016-08-23 16:48:36 +01:00 |
Dmitry-Me
|
cd6aa27010
|
Clarify loop logic
* clearer variable names
* don't rely on npos being outside indices range - explicitly break the loop instead
|
2016-08-23 18:27:07 +03:00 |
Frank Zingsheim
|
8c8a534117
|
SymbolDatabase: stronger type matching
|
2016-08-21 16:11:23 +02:00 |
Frank Zingsheim
|
7c9a69357e
|
Fixed #7696 (cppcheck 1.75 runs very slowly with style and/or performance checks)
|
2016-08-21 16:07:05 +02:00 |
Daniel Marjamäki
|
bea35ee04c
|
GUI: Select configuration that is checked
|
2016-08-21 15:57:38 +02:00 |
Daniel Marjamäki
|
a94628d8fc
|
Settings: Make Settings::_terminated static. All threads and subchecks are terminated
|
2016-08-21 15:57:19 +02:00 |
Daniel Marjamäki
|
d9ebdc6a10
|
Preprocessor: fix handling of -U in Preprocessor::getConfigs()
|
2016-08-21 15:01:04 +02:00 |
Daniel Marjamäki
|
ff036c8742
|
Fixed #7700 (Using -D to force a configuration still checks the configuration as well as configurations that are not relevant)
|
2016-08-21 13:53:44 +02:00 |
Daniel Marjamäki
|
19c105cdf9
|
Fixed #7677 (skipping of configurations broken?)
|
2016-08-21 12:31:26 +02:00 |
PKEuS
|
e0838ff194
|
Fixed crash on garbage code (#7699)
|
2016-08-21 11:06:48 +02:00 |
Daniel Marjamäki
|
363605906f
|
Fixed #7695 (Running with -U_WIN32 still checks related configurations)
|
2016-08-21 07:45:15 +02:00 |
Robert Reif
|
62ac40fc5e
|
Fixed #7706 ((debug) Executable scope 'foo' with unknown function.)
|
2016-08-20 22:43:27 +02:00 |
Robert Reif
|
1dd1f6dd6a
|
Fixed #7673 ((debug) Executable scope 'foo' with unknown function.)
|
2016-08-20 17:56:48 +02:00 |
Daniel Marjamäki
|
fe2fa4d343
|
GUI: Only check current platform when checking sln/vcxproj file
|
2016-08-20 13:47:25 +02:00 |
Daniel Marjamäki
|
f1d0498418
|
ImportProject: Fix crash when there is condition $(Configuration.Contains('X'))
|
2016-08-20 13:00:47 +02:00 |
Daniel Marjamäki
|
079051a4e4
|
ImportProject: UseOfMfc => define __AFXWIN_H__
|
2016-08-20 12:20:04 +02:00 |
Daniel Marjamäki
|
8a66535399
|
Fixed #7694 (ValueType: 1.23L)
|
2016-08-20 08:44:53 +02:00 |
Robert Reif
|
b56c765a45
|
Fixed #7703 ((debug) Executable scope 'foo' with unknown function.)
|
2016-08-20 07:43:15 +02:00 |
Robert Reif
|
f1b5ac30a7
|
Fixed 7698 (FP syntaxError with enum (1.75 regression))
|
2016-08-19 19:09:52 +02:00 |
Robert Reif
|
1e999e0cfe
|
Fixed #7697 ((debug) Executable scope 'B' with unknown function.)
|
2016-08-19 19:06:15 +02:00 |
Daniel Marjamäki
|
789aef7fde
|
Fixed #4920 (Microsoft ATL/MFC CString::Format argument checking)
|
2016-08-19 17:36:27 +02:00 |
Daniel Marjamäki
|
305609f4fb
|
Fixed #7688 (setTokenValue: crash when there is no 2nd operand for ternary operator)
|
2016-08-17 18:44:41 +02:00 |
Daniel Marjamäki
|
499e52c976
|
astyle formatting
[ci skip]
|
2016-08-15 18:04:55 +02:00 |