PKEuS
|
00904ba32a
|
Fixed false negatives in CheckOther::checkPassByReference() when assignment operator is used.
|
2017-03-07 21:49:28 +01:00 |
Matthias Krüger
|
65846efb6b
|
test/cfg/std.cpp fix 'make checkcfg', std::vector needs to have <vector> #included
|
2017-03-06 16:59:17 +01:00 |
orbitcowboy
|
e3d879e43d
|
std.cfg: Improved support for some std::wstring functions.
|
2017-03-06 16:40:49 +01:00 |
Daniel Marjamäki
|
302bf925df
|
Remove test/cfg/std.cpp test that fails
|
2017-03-06 12:39:08 +01:00 |
Daniel Marjamäki
|
d535f17489
|
testing std::string and std::vector configuration a little
|
2017-03-05 22:23:45 +01:00 |
Daniel Marjamäki
|
5ea9519586
|
UseRetVal: Fix FN for methods
|
2017-03-05 22:23:16 +01:00 |
Simon Martin
|
43e4364675
|
Ticket #7912: Properly preprocess files with decreasing line numbers, due to #line directives.
|
2017-03-05 16:46:43 +01:00 |
Daniel Marjamäki
|
f3c0461001
|
ValueType: handling scoped types in 'new ...'
|
2017-03-05 10:24:51 +01:00 |
Daniel Marjamäki
|
e0dd0a82ed
|
ValueType: refactor and improve handling of 'new ...'
|
2017-03-05 10:02:47 +01:00 |
Robert Reif
|
e02b2c4483
|
ValueType: handle new nothrow
|
2017-03-05 02:13:00 +01:00 |
Daniel Marjamäki
|
920398615d
|
ValueType: handle scoped types in parsedecl
|
2017-03-05 01:21:02 +01:00 |
Daniel Marjamäki
|
12fe4a8b3e
|
Fixed #7885 (ValueType: Wrong type for large hexvalue (platform=win32A))
|
2017-03-04 14:19:14 +01:00 |
Daniel Marjamäki
|
ecc59859e1
|
Don't simplify _Bool in TokenList
|
2017-03-04 11:13:28 +01:00 |
Daniel Marjamäki
|
a8424bcb54
|
Test get/getline/read/readsome configuration in std.cfg
|
2017-03-04 08:56:37 +01:00 |
Daniel Marjamäki
|
f0c353abcb
|
TokenList: append 'U' if needed on hexvalues
|
2017-03-04 08:47:53 +01:00 |
Daniel Marjamäki
|
1c6c209353
|
Fixed #7890 (1.77 false positive from knownConditionTrueFalse with function-like macros)
|
2017-03-03 19:53:16 +01:00 |
Daniel Marjamäki
|
59c1c76a97
|
Fixed #7466 (Reference variable does not count side-effects (FP variableScope))
|
2017-03-03 19:07:00 +01:00 |
Daniel Marjamäki
|
b5f2fd3c55
|
Fixed #7738 (False positive deallocret - delete and return NULL pointer)
|
2017-03-03 18:36:06 +01:00 |
Daniel Marjamäki
|
d1c66edb03
|
ValueFlow: Known values in conditional code
|
2017-03-03 01:29:34 +01:00 |
Daniel Marjamäki
|
45c5860ca4
|
Fixed #7926 (Memory Leak with auto not detected)
|
2017-03-02 22:24:26 +01:00 |
Daniel Marjamäki
|
9dc219f1ba
|
CheckIO: Use ValueType more
|
2017-03-01 22:33:31 +01:00 |
Daniel Marjamäki
|
51b5f1c286
|
Fixed #7931 (crash: SymbolDatabase: Variable::setFlag)
|
2017-03-01 17:13:22 +01:00 |
Daniel Marjamäki
|
279425499e
|
Fixed #7930 (Improve check: Missing stlcstr warning for reference variable)
|
2017-03-01 02:03:08 +01:00 |
PKEuS
|
85768f1829
|
SymbolDatabase: Overload matching with boolean literals as argument and with arbitrary null-pointers
|
2017-02-28 22:43:47 +01:00 |
PKEuS
|
942644fde6
|
SymbolDatabase: Overload matching with character literals as argument
|
2017-02-28 22:08:41 +01:00 |
Daniel Marjamäki
|
841e0c2921
|
Fixed #7546 (Assignment to array element not detected if pointer addition is used)
|
2017-02-28 22:04:05 +01:00 |
Daniel Marjamäki
|
16c06e5714
|
Fixed #7588 (Opposite conditions in nested 'if' blocks lead to a dead code block.)
|
2017-02-28 18:46:28 +01:00 |
Daniel Marjamäki
|
beaf29c158
|
SymbolDatabase: Update some properties for auto variables
|
2017-02-27 23:04:25 +01:00 |
Daniel Marjamäki
|
994f6b684d
|
ValueType: initial handling of new
|
2017-02-27 20:57:28 +01:00 |
Daniel Marjamäki
|
7ecd5db8fb
|
ValueType: Handle auto in range for loop
|
2017-02-27 02:09:33 +01:00 |
Daniel Marjamäki
|
2da360eec5
|
ValueType: Handle 'auto *p = ..'
|
2017-02-26 22:43:10 +01:00 |
Matthias Krüger
|
1e5e32c4a2
|
testrunner: remove non-gcc-style output format
|
2017-02-26 21:39:06 +01:00 |
Daniel Marjamäki
|
dad455c0dd
|
ValueType: Handle 'auto'. First fix for #4345
|
2017-02-26 20:02:57 +01:00 |
Daniel Marjamäki
|
d840005f06
|
Fixed #7656 (stlcstr - false positive)
|
2017-02-26 17:25:32 +01:00 |
Daniel Marjamäki
|
f68fa72095
|
Fixed #7583 (Defect: False positive '(error) Reference to temporary returned')
|
2017-02-26 13:41:49 +01:00 |
PKEuS
|
c1d8fd7f13
|
SymbolDatabase: Better handling of pointers in findFunction(), supporting const pointers and std::string overloads
|
2017-02-26 11:36:04 +01:00 |
PKEuS
|
4a27376694
|
SymbolDatabase: Implement two-stage fallback mechanism for matching function overloads, increasing matching accuracy
|
2017-02-25 23:12:00 +01:00 |
Daniel Marjamäki
|
adc659f58b
|
Fixed #7897 (MathLib::toDoubleValue: Does not handle character literal)
|
2017-02-25 21:58:09 +01:00 |
Daniel Marjamäki
|
26fc7abfac
|
Fixed #7837 (Field dereference triggers format string type warning)
|
2017-02-25 18:22:14 +01:00 |
Daniel Marjamäki
|
55d7ab65b9
|
Fixed #7918 (::exit() not recognized as noreturn)
|
2017-02-25 12:12:39 +01:00 |
Daniel Marjamäki
|
99544069d1
|
CheckLeakAutoVar: better handling of noreturn functions. Partial fix for #7918.
|
2017-02-25 11:36:48 +01:00 |
PKEuS
|
3f1e2b4270
|
More conservative fallback for function overload matching
|
2017-02-24 20:56:47 +01:00 |
PKEuS
|
4e28d40bf0
|
Fixed matching long long overload to function call f(0)
|
2017-02-24 20:33:52 +01:00 |
PKEuS
|
de86d40c97
|
Fixed handling of NULL and nullptr in CheckNullPointer
|
2017-02-24 19:44:28 +01:00 |
PKEuS
|
b08f99a082
|
Fixed false negative: nullpointer passed as std::string argument (#7927)
Refactorization: Removed dead code from CheckNullPointer::parseFunctionCall()
|
2017-02-24 19:10:34 +01:00 |
Daniel Marjamäki
|
a53f14da25
|
Fixed #7925 (False Positive identical condition)
|
2017-02-22 21:13:36 +01:00 |
Robert Reif
|
8e0f1ec788
|
Fixed #7909 (Crash in CheckMemoryLeakInClass)
|
2017-02-20 23:09:35 +01:00 |
Simon Martin
|
487f76cdd1
|
Ticket #7916: Don't incorrectly simplify return statements involving template instantiations.
|
2017-02-18 21:14:50 +01:00 |
Daniel Marjamäki
|
774a8979a3
|
Fixed #7095 (False positive: (warning) Return value of function to_string() is not used.)
|
2017-02-12 16:50:45 +01:00 |
Daniel Marjamäki
|
7c800d6ed7
|
Fixed #7447 (FP: ignoredReturnValue on C++11 uniform initialization)
|
2017-02-12 16:33:28 +01:00 |