orbitcowboy
|
537045b176
|
Improved const correctness. There are no functional changes.
|
2017-04-25 14:57:48 +02:00 |
Daniel Marjamäki
|
140e086206
|
Fixed #7738 (False positive deallocret - delete and return NULL pointer)
|
2017-04-24 22:05:16 +02:00 |
Daniel Marjamäki
|
37fd60e879
|
Fixed #7293 (Use of uninitialized pointer not detected (worked in 1.71))
|
2017-04-24 18:27:16 +02:00 |
Daniel Marjamäki
|
9a294496c1
|
ValueFlow::setTokenValue: Fix typo
|
2017-04-23 21:59:58 +02:00 |
Daniel Marjamäki
|
a688402617
|
ValueFlow::setTokenValue: Don't calculate parent value for uninitialized values
|
2017-04-23 21:58:01 +02:00 |
Daniel Marjamäki
|
2f51b975ed
|
valueFlowUninit: only check variables
|
2017-04-23 21:50:51 +02:00 |
Daniel Marjamäki
|
25a1ea3d18
|
use simpleMatch for simple pattern
|
2017-04-23 19:25:35 +02:00 |
Daniel Marjamäki
|
8a738eefab
|
fixed #7998 (uninitialized variable is not found when used with switch/case)
|
2017-04-23 18:05:14 +02:00 |
Daniel Marjamäki
|
3f069d9e44
|
Write two FIXME comments, create library configuration to replace hardcoded checks
|
2017-04-23 15:34:45 +02:00 |
Daniel Marjamäki
|
198c8878ee
|
Use Token::simpleMatch() for simple pattern
|
2017-04-23 12:14:14 +02:00 |
Daniel Marjamäki
|
f2719ec6ca
|
Refactoring CheckString::sprintfOverlappingData. Use AST, isSameExpression(), getArguments(), ..
|
2017-04-23 10:51:31 +02:00 |
Daniel Marjamäki
|
f92ef7d8e2
|
Refactoring. Use 'endsWith()'
|
2017-04-23 10:17:35 +02:00 |
Daniel Marjamäki
|
101dc28afa
|
Refactoring: Moved checkMemset.. from CheckOther to CheckFunctions
|
2017-04-23 07:53:41 +02:00 |
Daniel Marjamäki
|
f6ab204dc6
|
Refactorings in CheckOther
|
2017-04-23 07:19:44 +02:00 |
Daniel Marjamäki
|
f601a6903f
|
Updated comment
|
2017-04-23 06:44:38 +02:00 |
Matthias Krüger
|
2744a9456f
|
fix [lib/checkfunctions.cpp:300]: (warning) Found simple pattern inside Token::Match() call: "new"
|
2017-04-22 21:53:31 +02:00 |
Daniel Marjamäki
|
e5b9e2a898
|
--check-library: less warnings
|
2017-04-22 21:23:46 +02:00 |
Daniel Marjamäki
|
e72ec4282d
|
Fixed #7842 (Preprocessor::getConfigs: #error in #ifndef not handled well)
|
2017-04-22 12:44:57 +02:00 |
Daniel Marjamäki
|
1039c710e4
|
Fixed #8017 (AST: wrong ast for extra comma 's={1,}')
|
2017-04-22 11:23:11 +02:00 |
Daniel Marjamäki
|
7140bae226
|
Merge pull request #894 from simartin/ticket_7964
Ticket #7964: Don't crash on valid code using function pointers named strcpy or strcat in main()
|
2017-04-22 01:24:03 +02:00 |
Simon Martin
|
b526fd7c49
|
Ticket #7964: Don't crash on valid code using function pointers named strcpy or strcat in main().
|
2017-04-21 23:36:10 +02:00 |
Daniel Marjamäki
|
43454936e7
|
Fixed #8014 (FP: Uninitialized variable 'f(1,{..});')
|
2017-04-21 22:33:27 +02:00 |
Robert Reif
|
78ad9825af
|
Add support for auto variables in regular for loop.
|
2017-04-21 15:25:02 -04:00 |
Daniel Marjamäki
|
e827119856
|
Fix testrunner InternalError
|
2017-04-21 21:02:46 +02:00 |
Daniel Marjamäki
|
902eb87a8a
|
Fixed #8016 (AST: wrong ast for 'x=(s){...};')
|
2017-04-21 17:44:11 +02:00 |
Daniel Marjamäki
|
eec8c77774
|
Merge pull request #892 from IOBYTE/master
Add support for auto variable initialized from function return type.
|
2017-04-20 22:17:23 +02:00 |
Daniel Marjamäki
|
f8e9071de1
|
CheckFunction: In the <valid> check handle possible/conditional/inconclusive values better
|
2017-04-20 22:14:54 +02:00 |
Robert Reif
|
0ff8e49b69
|
Add support for auto variable initialized from function return type.
|
2017-04-20 15:22:57 -04:00 |
Daniel Marjamäki
|
95dd16892b
|
Merge pull request #891 from IOBYTE/master
Fix #7963: crash; Variable::setFlag ; gecko-dev , dom/canvas/WebGLTra…
|
2017-04-20 20:51:40 +02:00 |
Daniel Marjamäki
|
3fbcc0cd3b
|
Refactor CheckFunctions::invalidFunctionUsage
|
2017-04-20 19:57:39 +02:00 |
Daniel Marjamäki
|
e43c078c5e
|
checkfunctions: code cleanup
|
2017-04-20 17:42:25 +02:00 |
Robert Reif
|
69d18d9c29
|
Fix #7963: crash; Variable::setFlag ; gecko-dev , dom/canvas/WebGLTransformFeedback.cpp
|
2017-04-20 10:03:29 -04:00 |
Daniel Marjamäki
|
7a26e046a8
|
Fixed #8001 (AST: Wrong AST for lambda function with 'std::string const&' result type)
|
2017-04-18 21:21:30 +02:00 |
Daniel Marjamäki
|
0edb0dbf3c
|
Fix redundant assignment found by Cppcheck
|
2017-04-17 22:33:15 +02:00 |
Daniel Marjamäki
|
d911eeba75
|
astyle formatting
[ci skip]
|
2017-04-17 22:16:02 +02:00 |
Daniel Marjamäki
|
1a95dc9bd6
|
Fixed #7979 (Tokenizer: Detect and reject c++ code in .c file)
|
2017-04-17 22:15:29 +02:00 |
Daniel Marjamäki
|
bb015c6a2b
|
Fixed #8006 (AST: Wrong tree with complex for loops and casts)
|
2017-04-17 21:11:53 +02:00 |
Simon Martin
|
5fd686c878
|
Ticket #4544: Also handle Foo<struct Bar> constructs.
|
2017-04-17 11:24:28 +02:00 |
Daniel Marjamäki
|
4f64e67298
|
Misra: Add rule 8.11
|
2017-04-17 07:45:27 +02:00 |
Daniel Marjamäki
|
1045ece946
|
dump: refactor valueType dump
|
2017-04-16 09:11:20 +02:00 |
Daniel Marjamäki
|
f90d8c9987
|
dump: fix xml format
|
2017-04-15 14:03:49 +02:00 |
Daniel Marjamäki
|
b3b0a796b9
|
dump: fix xml format
|
2017-04-15 12:38:00 +02:00 |
Daniel Marjamäki
|
e71b428740
|
dump: Add platform info and valueType info
|
2017-04-15 12:25:44 +02:00 |
Daniel Marjamäki
|
174bcc8d34
|
Misra: Add rule 16.3
|
2017-04-14 10:46:35 +02:00 |
Daniel Marjamäki
|
d252a64ec8
|
Cleanup CheckFunctions::checkIgnoredReturnValue
|
2017-04-12 10:44:08 +02:00 |
Daniel Marjamäki
|
41a64f6d1f
|
Fix crash
|
2017-04-11 20:16:33 +02:00 |
PKEuS
|
b1f4bd7504
|
Refactorization: Reimplemented Settings::_enabled as a bitfeld instead of std::set (#7995)
|
2017-04-11 11:49:26 +02:00 |
Daniel Marjamäki
|
4d1a64301c
|
AST: Fixed Match pattern '|*' => '*|'
|
2017-04-10 23:44:30 +02:00 |
Daniel Marjamäki
|
632a6b664c
|
AST: Harden handling of C++11
|
2017-04-10 23:29:15 +02:00 |
Daniel Marjamäki
|
2c43075ece
|
AST: weird clang syntax
|
2017-04-10 23:05:41 +02:00 |