orbitcowboy
|
2e45df3b72
|
Fixed #6341: false negative uninitvar pattern "return foo ( %var%"
|
2014-12-17 17:43:31 +01:00 |
orbitcowboy
|
4cbbca3db0
|
Refactoring: Avoid to load posix.cfg multiple times while testing (testother.cpp) (#6336)
|
2014-12-17 16:33:55 +01:00 |
Daniel Marjamäki
|
a1537e1a6e
|
Fixed #6339 (false negative: array index out of bounds on allocated buffer using valueflow)
|
2014-12-17 16:23:48 +01:00 |
orbitcowboy
|
f13475ceb2
|
Refactoring of testuninitvar: Splitted large test functions into smaller pieces.
|
2014-12-16 22:02:03 +01:00 |
orbitcowboy
|
ade7365cc0
|
testuninitvar: moved more tests to checkUninitVar2, which does not rely on ExecutionPath.
|
2014-12-15 19:47:20 +01:00 |
orbitcowboy
|
bf4b6dfd19
|
testuninitvar: changed test cases to do not rely on ExecutionPath.
|
2014-12-15 15:41:03 +01:00 |
orbitcowboy
|
32cd7d727d
|
Fixed #6325: false negative: uninitialized variable usage (write, posix).
|
2014-12-15 10:05:44 +01:00 |
PKEuS
|
010eb1c8cb
|
Merge pull request #483 from simartin/ticket_6172
Ticket #6172: Properly grok %type%... template parameters.
|
2014-12-14 17:01:25 +01:00 |
Simon Martin
|
859c6381cc
|
Ticket #6172: Properly grok %type%... template parameters.
|
2014-12-14 14:33:37 +01:00 |
Daniel Marjamäki
|
5490fad8c7
|
Fixed #5840 (False positive (inconclusive): Possible nullpointer dereference - use before for-loop over nested list)
|
2014-12-14 14:10:42 +01:00 |
Thomas Jarosch
|
6b78ae7c46
|
Add mmap() / mmap64() / munmap() to posix.cfg. Enables basic leak tracking
Includes function prototype in posix.cfg as comment
for easier overview of the function arguments.
|
2014-12-14 13:30:24 +01:00 |
orbitcowboy
|
ac4f7879db
|
posix.cfg: Added support for rewinddir().
|
2014-12-10 16:10:03 +01:00 |
Thomas Jarosch
|
269a4419f0
|
Fixed false positives about strdupa() / strndupa() memleak
strdupa() / strndupa() allocates memory on the stack using alloca().
This memory is freed automatically once the current function is left.
|
2014-12-10 22:23:52 +01:00 |
orbitcowboy
|
def3491829
|
posix.cfg: Added support for readdir().
|
2014-12-10 17:44:21 +01:00 |
PKEuS
|
ff5ede342b
|
Fixed #6266: Support noexcept(false)
|
2014-12-09 23:53:50 +01:00 |
PKEuS
|
493ab541ab
|
Fixed #6291 and #6293: Support :: in front of function name in checkUnusedFunctions
Simplified code in CheckUnusedFunctions
|
2014-12-09 22:04:51 +01:00 |
PKEuS
|
e9bc3b7acf
|
Fixed #6308: Properly associate Function with Scope for destructors in SymbolDatabase
|
2014-12-09 21:36:09 +01:00 |
orbitcowboy
|
b8cca63a76
|
Improved test coverage of MathLib.
|
2014-12-03 18:24:27 +01:00 |
Alexander Mai
|
ec2c4aa2e3
|
#6301 Unused shared lock variable. Add exception for std::shared_lock() to CheckUnusedVar::checkFunctionVariableUsage_iterateScopes()
|
2014-12-07 15:32:09 +01:00 |
Alexander Mai
|
d11eb4931a
|
#6306 false positive with strxfrm NULL argument. Adjust std.cfg in favor of no false positive
|
2014-12-07 15:24:27 +01:00 |
Alexander Mai
|
c2584aa635
|
#6303 crash in CheckBufferOverrun. Add check on loop variable in CheckBufferOverrun::checkScope().
|
2014-12-04 20:49:58 +01:00 |
Robert Reif
|
c5bfd21d48
|
Tokenizer::simplifyTypedef: Add test that #5191 is fixed (function pointer)
|
2014-12-04 05:43:58 +01:00 |
Daniel Marjamäki
|
e3892a95b5
|
Fixed #6290 (Tokenizer: Because 'and' is not simplified to '&&' there are false positives)
|
2014-12-03 16:32:05 +01:00 |
Robert Reif
|
418c2e51a0
|
Fixed #3314 (cppcheck incorrectly reporting Syntax error.)
|
2014-11-28 17:44:36 +01:00 |
Robert Reif
|
0dad8b64e8
|
Fixed #6268 (False positive functionStatic (inconclusive) - nested namespaces)
|
2014-11-27 06:29:33 +01:00 |
Alexander Mai
|
1779921306
|
Increase test coverage for MathLib
|
2014-11-26 17:35:32 +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
|
a002654c47
|
Reverted refactoring 828417c for now. It caused a major slowdown in the unused functions checking.
|
2014-11-24 06:37:08 +01:00 |
Frank Zingsheim
|
9497732ac8
|
Fixed #6238 (false positive with double fopen)
|
2014-11-20 22:19:39 +01:00 |
Daniel Marjamäki
|
051d42ae6b
|
astyle formatting
|
2014-11-20 14:20:09 +01:00 |
orbitcowboy
|
4a2a4474c9
|
Fixed #6281: MathLib: Long integer suffix i64 is not supported.
|
2014-11-20 10:23: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 |
Robert Reif
|
b7c9187539
|
Fixed #6280 (MathLib: binary literals are integers)
|
2014-11-19 06:43:52 +01:00 |
Alexander Mai
|
1c191845fb
|
Fix invalid assertion from recent commit. Make single argument givenACodeSampleToTokenize ctor explicit.
|
2014-11-18 19:52:06 +01:00 |
PKEuS
|
4163f1e122
|
Fixed #6260 - C++11 style array initialization
|
2014-11-18 19:50:09 +01:00 |
PKEuS
|
428587f3d4
|
Fixed #6275: Simplification of = (NULL); to = 0;
|
2014-11-18 19:39:38 +01:00 |
Alexander Mai
|
85c02df56c
|
Fix compiler warning. run astyle
|
2014-11-18 19:36:47 +01:00 |
PKEuS
|
ad8749c0bd
|
Fixed #6278: Remove casts to references to pointers in Tokenizer::simplifyCasts()
|
2014-11-18 19:23:59 +01:00 |
Alexander Mai
|
0ba3c15c52
|
Cure null pointer access within Scope::findFunction introduced by recent cs
|
2014-11-17 23:05:15 +01:00 |
Robert Reif
|
c5e15950df
|
Fixed #6230 (SymbolDatabase: Wrong function() is set for token)
|
2014-11-17 16:04:44 +01:00 |
Robert Reif
|
7c4a137e14
|
Fixed #6274 (MathLib::isFloat doesn't recognize long double literal suffix L or l)
|
2014-11-17 06:53:32 +01:00 |
Alexander Mai
|
ea94b2748f
|
#633 Adding tests for some MathLib member functions, should reach 100% function coverage now
|
2014-11-16 18:09:21 +01:00 |
Daniel Marjamäki
|
828417c934
|
CheckUnusedFunction: Refactorings to use same infrastructure for whole program analysis as CheckUninitVar and CheckBufferOverrun
|
2014-11-15 18:44:23 +01:00 |
Daniel Marjamäki
|
de7e9223b8
|
Fixed #6272 (Improve check: multifile checking in checkbufferoverrun)
|
2014-11-15 10:43:49 +01:00 |
Daniel Marjamäki
|
149fe74d9d
|
astyle formatting
|
2014-11-14 21:43:37 +01:00 |
orbitcowboy
|
b9a9f51fe0
|
MathLib: Added test for isDec() and removed not required state.
|
2014-11-14 04:29:35 +01:00 |
Dmitry-Me
|
cb9a6c1cb5
|
Don't show warning for same expressions alongside == in static_assert
|
2014-11-13 16:04:34 +01:00 |
Daniel Marjamäki
|
189dfd64f7
|
Revert "Fixed #6230 (SymbolDatabase: Wrong function() is set for token)"
This reverts commit 685fce6b91 .
|
2014-11-11 07:29:16 +01:00 |
Daniel Marjamäki
|
ea765c24f2
|
Fixed #3262 (Tokenizer: wrong 'return a=1,b=2,...;' simplification;)
|
2014-11-10 17:31:19 +01:00 |