Dmitry-Me
|
3ab3715a88
|
Merge overlapping patterns
|
2015-03-17 16:23:19 +03:00 |
PKEuS
|
e8161aeda6
|
Refactorized Scope::getVariableList(): Removed scope depth counter, simplified patterns
|
2015-03-15 12:37:50 +01:00 |
PKEuS
|
e978a681a3
|
Removed unused variable
|
2015-03-15 10:19:35 +01:00 |
PKEuS
|
0d127f15a5
|
Fixed grammar mistake; fixed two VS2013 code analysis messages; removed redundant Token::Match call
|
2015-03-15 10:06:56 +01:00 |
PKEuS
|
713d993f71
|
Some refactorizations in Tokenizer:
- Refactorized simplifyTypedef
- Perform some template specific code only on non-C code
|
2015-03-15 10:04:44 +01:00 |
PKEuS
|
d6751a7987
|
Merge pull request #537 from Dmitry-Me/decouplePatternMatchingFromOtherChecks
Decouple pattern matching from other checks
|
2015-03-15 08:50:59 +01:00 |
Daniel Marjamäki
|
a200e5b32f
|
Merge pull request #551 from simartin/ticket_4335
Ticket #4335: Properly detect and handle template class specialisations
|
2015-03-15 07:59:11 +01:00 |
Simon Martin
|
520314f9a0
|
Ticket #4335: Properly detect and handle template class specializations.
|
2015-03-15 00:28:33 +01:00 |
Simon Martin
|
32a7a178e8
|
Code simplification now that ">>" is turned into "> >" when it closes template argument lists.
|
2015-03-14 23:02:10 +01:00 |
amai2012
|
40769c9a59
|
Merge pull request #549 from simartin/ticket_6437
Ticket #6347: Fix use after delete when simplifying template instantiations
|
2015-03-14 22:30:58 +01:00 |
PKEuS
|
430d8ca760
|
Refactorized code in simplifyEnum()
|
2015-03-14 20:43:14 +01:00 |
Daniel Marjamäki
|
fd6bd97972
|
Fixed #6495 (Improve check: uninitialized variable, 3rd function argument)
|
2015-03-14 19:23:33 +01:00 |
Simon Martin
|
4c916641cc
|
Ticket #6347: Fix use after delete when simplifying template instantiations.
|
2015-03-14 18:46:17 +01:00 |
Daniel Marjamäki
|
42c4aa1c49
|
Fixed #4880 (false negative: uninitialized variable, handling of conditional noreturn scopes)
|
2015-03-14 17:59:11 +01:00 |
amai2012
|
53e2d425d1
|
Merge pull request #546 from Dmitry-Me/properChainConditions
Proper if-else-if chain for mutually exclusive conditions
|
2015-03-14 17:38:06 +01:00 |
Dmitry-Me
|
2b50e73aa9
|
Misleading comment
|
2015-03-14 15:18:29 +03:00 |
Dmitry-Me
|
89ec9058a8
|
Proper if-else-if chain for mutually exclusive conditions
|
2015-03-14 15:09:46 +03:00 |
Dmitry-Me
|
43a19dee8b
|
Remove unneded deep copy, make reference const
|
2015-03-14 13:45:21 +03:00 |
PKEuS
|
6e0302fd56
|
Refactorized CheckBool::checkComparisonOfBoolWithInt(), CheckBool::checkComparisonOfBoolExpressionWithInt() and CheckBool::pointerArithBool():
- Support more patterns in CheckBool::pointerArithBool()
- Use AST and SymbolDatabase
- Removed redundant skipping over template arguments
|
2015-03-12 20:07:48 +01:00 |
PKEuS
|
7f2b6881b3
|
Refactorization: Avoid including path.h in (almost) every source file (via library.h)
|
2015-03-11 22:54:45 +01:00 |
PKEuS
|
3d2e26daeb
|
Small Refactorizations:
- Removed #include "symboldatabase.h" from library.h
- Moved variable to inner scope in tokenize.cpp
- Removed unnecessary variable in tokenize.cpp
|
2015-03-11 20:52:54 +01:00 |
PKEuS
|
cd84d78e92
|
Ran AStyle, fixed VS2015 warning in symboldatabase.h
|
2015-03-11 20:26:53 +01:00 |
PKEuS
|
9bafa3bf25
|
Fixed false positive #6575
|
2015-03-11 20:25:27 +01:00 |
amai2012
|
ed097d4c4f
|
Merge pull request #540 from JakubMelka/ticket_695
Ticket #695: new style check : explicit declaration of ctor
|
2015-03-11 12:15:22 +01:00 |
Jakub Melka
|
e1e1dbfe97
|
Ticket #695: Fixed VS 2010 issue, switched to "style" severity, changed error messages and updated unit tests
|
2015-03-10 19:35:12 +01:00 |
Jakub Melka
|
b7d92a4fc7
|
Fixed warnings of CppCheck's own code (caused by new check #695)
|
2015-03-08 18:18:09 +01:00 |
Daniel Marjamäki
|
2d8a6c7b89
|
Fixed #6571 (Library::isNotLibraryFunction: Return true for methods)
|
2015-03-08 16:13:32 +01:00 |
Simon Martin
|
1d973b882d
|
Ticket #6567: Handle member functions in TemplateSimplifier::getTemplateNamePosition.
|
2015-03-07 21:52:12 +01:00 |
Jakub Melka
|
2af9212b16
|
Ticket #695: new style check : explicit declaration of ctor
|
2015-03-07 20:07:54 +01:00 |
Daniel Marjamäki
|
0131bda065
|
Merge pull request #539 from simartin/ticket_6181
Ticket #6181: Normalize '>>' into '> >' when it's closing a C++11 template parameter list
|
2015-03-07 15:02:21 +01:00 |
Simon Martin
|
9c6a625f91
|
Ticket #6181: Normalize '>>' into '> >' when it's closing a C++11 template parameter list.
|
2015-03-07 11:06:04 +01:00 |
Daniel Marjamäki
|
87ebeb3f65
|
Fixed #6533 (library: alloc/dealloc doesn't work when function declaration is seen)
|
2015-03-07 09:43:56 +01:00 |
Dmitry-Me
|
74417699db
|
Remove redundant break
|
2015-03-06 18:55:47 +01:00 |
Daniel Marjamäki
|
f705cdce72
|
Fixed #6556 (Tokenizer::simplifyVarDecl: doesn't simplify template variables properly)
|
2015-03-06 17:30:20 +01:00 |
Daniel Marjamäki
|
e38f15ecc0
|
--check-library: dont write <noreturn> messages now since they cant be fixed.
|
2015-03-05 07:19:03 +01:00 |
Daniel Marjamäki
|
6646a896f9
|
Fixed #6446 (FP zerodivcond on double arithmetics)
|
2015-03-03 15:50:31 +01:00 |
Daniel Marjamäki
|
925f077b8a
|
Fixed #6110 (TemplateSimplifier::simplifyCalculations: wrong simplification of 'if (VG_(strlen)(s)>=3)')
|
2015-03-02 16:27:00 +01:00 |
Daniel Marjamäki
|
86cdc8e7a6
|
Fixed #6540 (Tokenizer::simplifyKnownVariables: Missing varid for simplification in conditional code)
|
2015-03-02 06:18:00 +01:00 |
Daniel Marjamäki
|
830f656a25
|
Library: variables are not library functions (variable declarations can look like function calls)
|
2015-03-01 11:46:43 +01:00 |
Robert Reif
|
27388c3696
|
Fixed #6546 (False positive uselessAssignmentPtrArg - triggered by throw?)
|
2015-02-28 16:07:43 +01:00 |
Daniel Marjamäki
|
449b88aa0c
|
Fixed #6547 (Regression - unknown macro causes analysis error)
|
2015-02-28 11:09:39 +01:00 |
Daniel Marjamäki
|
3add466035
|
Add isFunctionHead() in Tokenizer
|
2015-02-27 18:29:34 +01:00 |
Dmitry-Me
|
10b762da98
|
Decouple pattern matching from other checks
|
2015-02-27 13:09:06 +03:00 |
Dmitry-Me
|
848f50b005
|
Get rid of Hungarian notation
|
2015-02-27 12:02:12 +03:00 |
Daniel Marjamäki
|
acbf48c7fa
|
Fixed #6548 (Tokenizer: Wrong varid set after function which is throw())
|
2015-02-26 16:31:42 +01:00 |
Dmitry-Me
|
22b0f37aaf
|
Cache and reuse value
|
2015-02-26 14:34:18 +03:00 |
Dmitry-Me
|
d7365519a5
|
Cache and reuse value
|
2015-02-26 11:48:15 +03:00 |
PKEuS
|
cb4bf73749
|
Merge pull request #530 from Dmitry-Me/doChecksEarlier
Don't run the checks which will be silenced later anyway
|
2015-02-25 19:22:00 +01:00 |
amai2012
|
b9316e8ce0
|
Merge pull request #531 from Dmitry-Me/removeRedundantCasts
Remove redundant casts
|
2015-02-25 07:57:52 +01:00 |
Daniel Marjamäki
|
d1892786b8
|
ValueFlow: Improved when using '[' on arrays and strings
|
2015-02-24 15:57:39 +01:00 |