PKEuS
|
fb0d145b34
|
Don't show inconclusive message redundantCopyLocalConst if --inconclusive is not set.
Ran AStyle
|
2014-09-11 19:45:52 +02:00 |
PKEuS
|
87e6a3501a
|
Added checktype.cpp to VS solution; Fixed MSVC warning about signed/unsigned mismatch
|
2014-09-11 18:47:28 +02:00 |
Daniel Marjamäki
|
7847263451
|
Fixed #6158 (New check: dangerous sign conversion)
|
2014-09-11 18:10:19 +02:00 |
Dmitry-Me
|
e050fba414
|
Move declaration closer to where it is used
|
2014-09-11 11:26:35 +04:00 |
PKEuS
|
865fc9aa67
|
Fixed #6154: Don't suggest to reduce scope if inner scope is a lambda.
|
2014-09-10 20:56:34 +02:00 |
PKEuS
|
0a416910c4
|
Improved speed of testrunner: Avoid repeated loading of the same library
|
2014-09-10 20:29:44 +02:00 |
PKEuS
|
3fade4d28c
|
Improved performance of library loading (~5%):
- Use std::string for comparison, convert to string only once
- Avoid calling tinyxml functions multiple times
|
2014-09-10 20:29:44 +02:00 |
PKEuS
|
c3ac91eb42
|
Fixed ID of message about purged configurations.
|
2014-09-10 20:19:21 +02:00 |
Daniel Marjamäki
|
a46f5c00a8
|
Minor tweaks for new CheckOther::checkIntegerOverflow checker
|
2014-09-10 17:26:20 +02:00 |
Daniel Marjamäki
|
974c8688c3
|
Fixed #1751 (Undefined Behavior: Signed integer overflow)
|
2014-09-10 17:02:18 +02:00 |
Daniel Marjamäki
|
a36b0e55be
|
CheckOther::checkTooBigBitwiseShift: improving error messages
|
2014-09-09 17:06:45 +02:00 |
Dmitry-Me
|
0a1b8c22d6
|
Simplify null pointer handling
|
2014-09-09 13:11:41 +04:00 |
Daniel Marjamäki
|
f111a89639
|
Fixed #1757 (Undefined Behavior: Shift too many bits)
|
2014-09-09 07:24:59 +02:00 |
Dmitry-Me
|
f7824bfd00
|
CheckNullPointer::isPointerDeRef: Improve handling of static member variables and functions
|
2014-09-09 05:36:09 +02:00 |
Matthias Krüger
|
323fd1b3dc
|
tokenize.cpp: fix internal warning: Found simple pattern inside Token::Match() call: ") :"
|
2014-09-08 22:00:57 +02:00 |
Martin Ettl
|
0ced0c33e5
|
Fixed #6149: (gcc) warning: comparing floating point with == or != is unsafe. Using Tokenizer::isOneNumber function to compare a floating point number being 1.0.
|
2014-09-08 20:02:04 +02:00 |
Frank Zingsheim
|
8c5013adda
|
Fixed #6073
|
2014-09-07 21:53:32 +02:00 |
Daniel Marjamäki
|
db929ffd19
|
Fixed CID 1037074. Useless null pointer check. Created ticket #6144.
|
2014-09-07 13:50:55 +02:00 |
PKEuS
|
301b668eb5
|
Fixed internal warning of cppcheck
|
2014-09-07 11:47:40 +02:00 |
PKEuS
|
ff4fc6a234
|
New check: Recommend expm1, log1p, erfc (#5392)
|
2014-09-07 11:38:49 +02:00 |
Daniel Marjamäki
|
7142edf03e
|
Improved fix for Cppcheck warning. Remove useless conditions instead of adding a new one.
|
2014-09-07 09:56:07 +02:00 |
PKEuS
|
605fb9039a
|
Merge pull request #391 from Dmitry-Me/resolveIssue1037098
Resolve CID 1037098
|
2014-09-06 23:17:52 +02:00 |
PKEuS
|
117e45f8af
|
Merge pull request #395 from Dmitry-Me/fixBufferOverrun
Fix potential buffer overrun
|
2014-09-06 23:03:02 +02:00 |
PKEuS
|
4859b55ce6
|
Merge pull request #422 from simartin/ticket_6023
Ticket #6023: Properly handle template'd default template parameter values
|
2014-09-06 22:55:45 +02:00 |
Alexander Mai
|
e4d0435976
|
Merge branch 'master' of https://github.com/danmar/cppcheck
|
2014-09-06 22:27:38 +02:00 |
Alexander Mai
|
6b26b6ed31
|
Fix read access to uninitialized variable
|
2014-09-06 22:27:13 +02:00 |
Simon Martin
|
6e10603227
|
Ticket #6023: Properly handle template'd default template parameter values.
|
2014-09-06 20:39:04 +02:00 |
PKEuS
|
35b00a5e05
|
Support rValue references in typedef (#1823)
|
2014-09-06 19:00:26 +02:00 |
Alexander Mai
|
efab840b50
|
#5230 Explicit reinterpret_cast should not give a warning. Lower all invalidPointerCast messages to 'portability'
|
2014-09-06 13:09:02 +02:00 |
Alexander Mai
|
29b46cb505
|
#6132 crash: daca: kvirc CheckOther::checkRedundantAssignment()
|
2014-09-05 20:03:34 +02:00 |
Martin Ettl
|
8a15486370
|
Fixed CID-1234716: Dereference after null check in lib/checkio.cpp
|
2014-09-01 09:00:05 +02:00 |
PKEuS
|
e8f7279039
|
Refactorization: Moved detection of STL strings to SymbolDatabase
|
2014-09-05 12:03:08 +02:00 |
PKEuS
|
4940da06c0
|
Calculate checksum only if necessary (#6129)
|
2014-09-05 11:05:21 +02:00 |
Simon Martin
|
eeeb816db9
|
Ticket #6103: Simplify "new (type)" constructs into "new type" to avoid confusion upon certain input.
|
2014-09-05 08:02:18 +02:00 |
PKEuS
|
8c24553229
|
Support inherited member variables in setVarId (#4101)
|
2014-09-04 22:22:09 +02:00 |
Alexander Mai
|
5a96413220
|
#6127 crash on patch(?)-".c" file. Avoid segfault.
|
2014-09-04 21:28:18 +02:00 |
Alexander Mai
|
65f599bd9e
|
Fix version number macros
|
2014-09-04 21:18:15 +02:00 |
Daniel Marjamäki
|
b3e4abd82a
|
Fixed Cppcheck warnings
|
2014-09-04 18:08:56 +02:00 |
Daniel Marjamäki
|
05617d7285
|
Fixed #6118 (False positive: divide by zero - if condition not evaluated properly)
|
2014-09-04 17:52:14 +02:00 |
PKEuS
|
800b57d87e
|
Merge pull request #415 from Dmitry-Me/reducePatternsDuplication
Reduce patterns duplication
|
2014-09-04 07:46:59 +02:00 |
PKEuS
|
5d0aa15002
|
Merge pull request #416 from Dmitry-Me/removeDuplicateChecks
Remove duplicate checks
|
2014-09-04 07:46:45 +02:00 |
PKEuS
|
e4a81f9666
|
Improved checksum algorithm to fix configurations being purged by coincidence (#6126):
- Better distribution of values by rotating the bits of the checksum for each token
|
2014-09-03 23:10:38 +02:00 |
Alexander Mai
|
270f59e76a
|
Fix doxygen warning and astyle formatting
|
2014-09-03 20:38:41 +02:00 |
Dmitry-Me
|
68d650e9ac
|
Remove duplicate checks
|
2014-09-03 14:17:34 +04:00 |
PKEuS
|
6d27ca6c9a
|
Fixed SymbolDatabase if unnamed struct is casted and returned (#6125)
|
2014-09-03 11:15:05 +02:00 |
PKEuS
|
bf2f76e70c
|
Detect and purge duplicate configurations by calculating a checksum.
|
2014-09-02 22:35:52 +02:00 |
Alexander Mai
|
a632f68345
|
#6122 segmentation fault (invalid code) in in valueFlowForLoop2. Simple fix and testcase.
|
2014-09-02 19:41:50 +02:00 |
Alexander Mai
|
45dc4ca6be
|
Fix compiler warning. Re-order if-expression for performance reasons
|
2014-09-02 19:18:30 +02:00 |
Dmitry-Me
|
46d24c7bfb
|
Reduce patterns duplication
|
2014-09-02 19:51:22 +04:00 |
Dmitry-Me
|
7342a81ea7
|
Minor refactorings. rename token. cleanup if/else.
|
2014-09-02 16:10:51 +02:00 |