Daniel Marjamäki
|
b9b47809f9
|
Fixed #8197 (iscast: '(b)&1' is not a cast)
|
2017-09-08 22:52:16 +02:00 |
Daniel Marjamäki
|
b81b4fcb78
|
Fixed #8208 (CheckCondition: Use Library to determine if function is const)
|
2017-09-08 18:08:32 +02:00 |
orbitcowboy
|
7e92535b59
|
std.cfg: Improved support for std::ios std::ios_base std::ofstream and std::ostream functions.
|
2017-09-08 16:43:40 +02:00 |
Daniel Marjamäki
|
899ad8479d
|
CheckCondition: Fixed FP when condition contains global static variable
|
2017-09-08 15:44:56 +02:00 |
Daniel Marjamäki
|
d9adb5432a
|
astyle formatting
[ci skip]
|
2017-09-08 15:41:14 +02:00 |
Nekto89
|
9cbfa0e383
|
Fix #7803: false negative: condition is always true 'if (flags & A)' (#938)
|
2017-09-08 14:30:42 +02:00 |
Ayaz Salikhov
|
bddc698295
|
Make warning disappear (#957)
|
2017-09-08 14:25:08 +02:00 |
Daniel Marjamäki
|
58db814d72
|
Rephraze /Same/Identical/
|
2017-09-08 12:41:33 +02:00 |
Daniel Marjamäki
|
97125acabd
|
Fixed #7365 (False positive: Use of erased iterator)
|
2017-09-08 09:45:30 +02:00 |
Daniel Marjamäki
|
57004ed533
|
Fixed #7663 (False positive: uninitialized variable (multi variables in inner scopes))
|
2017-09-07 23:08:55 +02:00 |
Daniel Marjamäki
|
120d0f86d0
|
CheckCondition: Fix FP about same condition when switch case is used (daca)
|
2017-09-07 22:05:01 +02:00 |
Ayaz Salikhov
|
1d2b58e828
|
Correctify explicit usage (#951)
|
2017-09-07 13:03:45 +02:00 |
Ayaz Salikhov
|
2604156fe7
|
Use C++ headers (#949)
|
2017-09-07 13:02:44 +02:00 |
Ayaz Salikhov
|
64eccd780c
|
Don't use static where not needed (#952)
|
2017-09-07 13:01:07 +02:00 |
Ayaz Salikhov
|
f0b5327450
|
Fix codestyle (#953)
|
2017-09-07 13:00:46 +02:00 |
Ayaz Salikhov
|
0fc35c1350
|
Name all params (#956)
|
2017-09-07 12:59:53 +02:00 |
Ayaz Salikhov
|
76dc828e24
|
Use nullptr (#950)
Refactoring: use nullptr
|
2017-09-07 10:33:52 +02:00 |
Daniel Marjamäki
|
f2d56363d3
|
CheckCondition: Fix TODO assertion
|
2017-09-06 22:53:36 +02:00 |
Daniel Marjamäki
|
4c30a5af25
|
CheckCondition: Break out code to check if function call is non-const
|
2017-09-06 22:51:21 +02:00 |
Daniel Marjamäki
|
e0c7f7f8f2
|
CheckCondition: Fix FP when there are method calls in condition
|
2017-09-06 22:26:00 +02:00 |
Dmitry-Me
|
68f6cad2aa
|
Omit repeated search when no insertion occurs
|
2017-09-06 18:02:27 +03:00 |
Dmitry-Me
|
66524ef645
|
Clarify code using temporary
|
2017-09-06 18:00:23 +03:00 |
Dmitry-Me
|
df5757b2cf
|
Update simplecpp
|
2017-09-06 00:19:56 +03:00 |
Dmitry-Me
|
35f5515931
|
Fix CID 1360383
|
2017-09-06 00:12:09 +03:00 |
Matthias Krüger
|
58a64702b7
|
add "internalAstError" id so we can easily track ast errors on daca.
|
2017-09-05 22:49:16 +02:00 |
Daniel Marjamäki
|
35736364f8
|
Fixed #8199 (false negative: (warning) Same condition '...', second condition is always false)
|
2017-09-05 22:45:28 +02:00 |
Daniel Marjamäki
|
e5e6f37e41
|
Fixed #7405 (false positive: (warning) Opposite conditions in nested 'if' blocks lead to a dead code block.)
|
2017-09-05 22:03:29 +02:00 |
Daniel Marjamäki
|
4ca004c836
|
daca2-search.cgi: write summary if no arguments are used
|
2017-09-05 21:48:39 +02:00 |
Dmitry-Me
|
3127fcf429
|
Omit repeated computations
|
2017-09-05 17:56:57 +03:00 |
Dmitry-Me
|
0e444aa133
|
Cache and reuse values
|
2017-09-05 17:50:36 +03:00 |
orbitcowboy
|
27be75b224
|
std.cfg: Improved support for returnValue types for some math functions.
|
2017-09-05 16:27:02 +02:00 |
orbitcowboy
|
94c1809f26
|
std.cfg: Improved support for returnValue types for some math functions.
|
2017-09-05 16:01:33 +02:00 |
Daniel Marjamäki
|
c1000998f0
|
CheckCondition: Fix FP found in daca results (ace)
|
2017-09-05 09:33:35 +02:00 |
Dmitry-Me
|
d7b91a9e92
|
Fix CID 1378763
Defensive check recovered from earlier version of this code
|
2017-09-05 00:17:51 +03:00 |
Dmitry-Me
|
7e823e6d8e
|
Extract repeating checks, break loop early
|
2017-09-05 00:04:48 +03:00 |
Dmitry-Me
|
79f74fc4d3
|
Break loop early
|
2017-09-05 00:00:02 +03:00 |
Dmitry-Me
|
7c8cb29d14
|
Extract repeating checks
|
2017-09-04 23:58:14 +03:00 |
Daniel Marjamäki
|
d02d235e5e
|
Refactoring oppositeInnerCondition checking
|
2017-09-04 22:54:06 +02:00 |
Daniel Marjamäki
|
d82805b7fe
|
CheckCondition: Improved checking for same conditions
|
2017-09-04 22:40:34 +02:00 |
Dmitry-Me
|
5885988b1f
|
Cache and reuse value
|
2017-09-04 23:33:52 +03:00 |
Dmitry-Me
|
aece2254d7
|
Put faster checks first
|
2017-09-04 23:33:14 +03:00 |
Daniel Marjamäki
|
abae5e0156
|
Fixed #8198 (false positive: (warning) Same condition, second condition is always false)
|
2017-09-04 22:25:20 +02:00 |
Daniel Marjamäki
|
ad494b996c
|
TestCondition: break out tests to functions
|
2017-09-04 22:11:53 +02:00 |
Dmitry-Me
|
f7ab8c5ebb
|
Drop unneeded parentheses
Those are a misleading leftover from old code
|
2017-09-04 22:49:05 +03:00 |
Dmitry-Me
|
c29f16a306
|
Cache and reuse values
|
2017-09-04 17:55:45 +03:00 |
Dmitry-Me
|
5dba8268e7
|
Better variable name
|
2017-09-04 17:53:56 +03:00 |
Daniel Marjamäki
|
d838dc2129
|
CheckCondition::multiCondition2: Fix FN for pointers
|
2017-09-04 15:58:22 +02:00 |
orbitcowboy
|
095e435031
|
wxwidgets.cfg: Added support for some wxTextFile functions.
|
2017-09-04 14:52:10 +02:00 |
Daniel Marjamäki
|
9465dca583
|
CheckCondition: Fix FPs for aliased variables (daca)
|
2017-09-04 09:34:03 +02:00 |
Daniel Marjamäki
|
a02fd54a69
|
ValueFlow: Avoid FPs for aliased variables
|
2017-09-03 23:24:55 +02:00 |