Daniel Marjamäki
|
c0e8654649
|
Refactor void* checking. Use ValueType.
|
2015-12-30 11:48:20 +01:00 |
Daniel Marjamäki
|
fdcab8f1bb
|
ValueType: better handling of struct member
|
2015-12-30 11:36:46 +01:00 |
Daniel Marjamäki
|
c5c386ceb8
|
ValueType: Handle void pointers
|
2015-12-29 19:58:51 +01:00 |
Daniel Marjamäki
|
bd1037e95b
|
Fixed #7242 (False positive unknownEvaluationOrder - comma expression in function argument)
|
2015-12-29 12:06:42 +01:00 |
Daniel Marjamäki
|
83cb028963
|
Preprocessor: insert space between ++ or -- in macro expansion
|
2015-12-29 06:54:44 +01:00 |
Akhilesh Nema
|
997d7dc695
|
Fixed #7231 (GUI: 'Selected File Recheck' being performed multiple times if file selection includes existing error messages.)
|
2015-12-29 01:38:36 +01:00 |
Daniel Marjamäki
|
b38559774d
|
Removed the CPPCHECK2 ifdefs. I have no plan to remove simplifications anymore.
|
2015-12-28 16:26:51 +01:00 |
Daniel Marjamäki
|
25a5ac1846
|
Split up TestOther::testEvaluationOrder()
|
2015-12-28 14:04:14 +01:00 |
Daniel Marjamäki
|
15ecb26a6c
|
Tokenizer: Moved simplifyAssignmentInFunctionCall from simplifyTokenList1 to simplifyTokenList2
|
2015-12-28 13:58:41 +01:00 |
Daniel Marjamäki
|
0ddb5c12ce
|
Fixed #7238 (False positive unknownEvaluationOrder for comma operator on C code)
|
2015-12-28 13:45:55 +01:00 |
Alexander Mai
|
5b6758b03b
|
Add some debugging code (inspired by #6021)
|
2015-12-27 17:38:15 +01:00 |
Daniel Marjamäki
|
f09dded7b1
|
TokenList: Better handling of '1++a' and 'a++1'
|
2015-12-27 14:57:22 +01:00 |
Daniel Marjamäki
|
908bc664a4
|
Evaluation order: ignore usage in sizeof
|
2015-12-27 14:08:16 +01:00 |
Alexander Mai
|
e9635fd393
|
#7236 segmentation fault (invalid code) in ValueFlow::setValues. #7237 segmentation fault (invalid code) in Tokenizer::setVarIdClassDeclaration
|
2015-12-26 23:51:10 +01:00 |
amai2012
|
081f443b2a
|
#7235 segmentation fault (invalid code) in TokenList::createAst
|
2015-12-26 20:26:07 +01:00 |
amai2012
|
36a6599386
|
#7324 segmentation fault (invalid code) in Tokenizer::simplifyTokenList1
|
2015-12-26 20:16:01 +01:00 |
Daniel Marjamäki
|
c672210e06
|
Evaluation order: don't warn for 'dostuff(expr++, &expr)'
|
2015-12-26 15:48:43 +01:00 |
Daniel Marjamäki
|
32455e8441
|
Fixed #7214 (ValueType: does not handle static_cast)
|
2015-12-26 15:20:17 +01:00 |
Akhilesh Nema
|
0886ef9c5f
|
Fixed #3192 (GUI: Allow opening project file without extra parameter from CLI)
|
2015-12-26 11:47:07 +01:00 |
Daniel Marjamäki
|
34449ae857
|
Use simpleMatch instead of Match for simple pattern, hope this makes Travis happy
|
2015-12-26 02:21:52 +01:00 |
Daniel Marjamäki
|
cea40168e0
|
Code fix. Used wrong variable in condition, leading to segfaults.
|
2015-12-26 01:52:43 +01:00 |
Daniel Marjamäki
|
293bd2eead
|
Fixed #6990 (false negative: Invalid abs() argument nr 1. A non-boolean value is required.)
|
2015-12-26 01:38:41 +01:00 |
Daniel Marjamäki
|
64494ca226
|
astyle formatting
[ci skip]
|
2015-12-26 01:37:21 +01:00 |
Alexander Mai
|
87767fb666
|
#7228 segmentation fault (invalid code) in Tokenizer::isFunctionHead
|
2015-12-26 00:21:56 +01:00 |
Daniel Marjamäki
|
ab6809f3fa
|
Fixed testrunner
|
2015-12-25 19:01:32 +01:00 |
Daniel Marjamäki
|
e6ff77d825
|
Evaluation order: Don't use this checker on C++11 code
|
2015-12-25 18:57:59 +01:00 |
Daniel Marjamäki
|
90148ce2a1
|
Evaluation order: Only use this checker on non-C++11 code
|
2015-12-25 18:49:34 +01:00 |
Daniel Marjamäki
|
55779a5772
|
Evaluation order: Only use this checker on non-C++11 code
|
2015-12-25 18:45:46 +01:00 |
Daniel Marjamäki
|
24438c326e
|
Fixed #7233 (Fasle negative 'unknownEvaluationOrder in case of macro)
|
2015-12-25 18:31:21 +01:00 |
Daniel Marjamäki
|
27af1bcfd8
|
Fixed #7229 (Improve check; unknown evaluation order, write different message for self assignment)
|
2015-12-25 18:00:19 +01:00 |
Daniel Marjamäki
|
07b929e13f
|
Added TODO test case for unknown evaluation order
|
2015-12-25 17:48:15 +01:00 |
Daniel Marjamäki
|
90a54b1fae
|
Fixed #7232 (False positive unknownEvaluationOrder on id = Remap( id += 42 );)
|
2015-12-25 16:45:11 +01:00 |
PKEuS
|
0bdd353062
|
Merge pull request #744 from Dmitry-Me/useSetInsteadofList
Use set instead of list
|
2015-12-25 15:57:22 +01:00 |
Dmitry-Me
|
7fdbd8f0ca
|
Use set instead of list
|
2015-12-25 16:19:27 +03:00 |
PKEuS
|
802b35145c
|
Merge pull request #743 from Dmitry-Me/fixCommentTypo
Fix misspelled word
|
2015-12-25 11:29:07 +01:00 |
Dmitry-Me
|
05cb4e16fe
|
Fix misspelled word
|
2015-12-25 11:51:08 +03:00 |
orbitcowboy
|
e8b2b5e934
|
Merge pull request #742 from Dmitry-Me/reduceScopeBetterName
Reduce variable scope, better name
|
2015-12-24 15:48:39 +01:00 |
Dmitry-Me
|
458f0da197
|
Reduce variable scope, better name
|
2015-12-24 17:08:49 +03:00 |
PKEuS
|
940d569980
|
Refactorization: Removed redundant %any% patterns.
|
2015-12-24 14:40:48 +01:00 |
PKEuS
|
0052896c41
|
Merge pull request #738 from Dmitry-Me/reduceMatchCalls
Pre-check to reduce number of match checks
|
2015-12-24 13:48:56 +01:00 |
Dmitry-Me
|
7303790a73
|
Pre-check to reduce number of match checks
|
2015-12-24 13:07:47 +03:00 |
PKEuS
|
93cb73ebcf
|
Merge pull request #741 from Dmitry-Me/useArrowForDereferencing
Use arrow as in surrounding code
|
2015-12-24 09:37:40 +01:00 |
PKEuS
|
ae740e28fd
|
Merge pull request #740 from Dmitry-Me/donClearEmptyStrings
No need to clear empty strings
|
2015-12-24 09:37:20 +01:00 |
Daniel Marjamäki
|
81f0597316
|
Fixed #3206 and #7226 (New check: Undefined execution order)
|
2015-12-24 09:13:20 +01:00 |
Dmitry-Me
|
1d614f2e5b
|
Use arrow as in surrounding code
|
2015-12-24 10:21:48 +03:00 |
Dmitry-Me
|
bd45c71d8d
|
No need to clear empty strings
|
2015-12-24 10:16:58 +03:00 |
Daniel Marjamäki
|
cc987d8ff5
|
astyle formatting
|
2015-12-23 23:05:26 +01:00 |
PKEuS
|
1b7f23daa5
|
Merge pull request #737 from Dmitry-Me/omitDeepCopy
Omit unneeded deep copy
|
2015-12-23 16:26:44 +01:00 |
PKEuS
|
d5e9bb4323
|
Merge pull request #739 from Dmitry-Me/repeatedSearch
Omit repeated search
|
2015-12-23 16:24:50 +01:00 |
Dmitry-Me
|
3e9ef0894f
|
Omit repeated search
|
2015-12-23 16:10:39 +03:00 |