PKEuS
|
aca8a69f5e
|
Skip over lambdas in CheckClass::checkPureVirtualFunctionCall() (#4992)
|
2015-11-09 20:15:26 +01:00 |
PKEuS
|
f15f8514f6
|
Fixed crash on garbage code (#7120)
|
2015-11-09 17:25:20 +01:00 |
PKEuS
|
389d30fe44
|
Fixed crash on garbage code (#7118)
|
2015-11-09 11:21:07 +01:00 |
PKEuS
|
c7987ad11a
|
Refactorization: Removed redundant nullptr checks. The existence of the tokens is guaranteed by previous Token::Match() call
|
2015-11-09 11:12:32 +01:00 |
Daniel Marjamäki
|
5074c11b53
|
CheckBufferOverrun: Fixed FP when accessing string that contains '\0'. Refactoring address-of.
|
2015-11-09 10:30:39 +01:00 |
Daniel Marjamäki
|
8317369c91
|
Explicit constructors: don't warn for abstract classes unless C++11 is used.
|
2015-11-09 08:36:47 +01:00 |
Daniel Marjamäki
|
64f3007d9e
|
updated Makefile
|
2015-11-08 17:37:21 +01:00 |
Daniel Marjamäki
|
ef5be435c7
|
Fixed #7113 (False positive arrayIndexOutOfBounds - using pointer alias with cast)
|
2015-11-08 17:21:32 +01:00 |
Alexander Mai
|
5318970f1e
|
#7109 segmentation fault (invalid code) in TokenList::createAst
|
2015-11-08 15:09:39 +01:00 |
Daniel Marjamäki
|
fc564d779e
|
Fixed #7112 (crash: CheckBufferOverrun::checkGlobalAndLocalVariable (invalid code))
|
2015-11-08 14:21:12 +01:00 |
Daniel Marjamäki
|
37dbebb093
|
Fixed #7049 (valueflow: value is not known after case)
|
2015-11-08 14:08:47 +01:00 |
PKEuS
|
4ad246f56f
|
Merge pull request #703 from nablaa/hh-hxx-header
Treat *.hh and *.hxx files as C++ files
|
2015-11-08 13:52:56 +01:00 |
Alexander Mai
|
ab296fa93f
|
7111 segmentation fault (invalid code) in Tokenizer::simplifyRedundantParentheses
|
2015-11-08 13:45:55 +01:00 |
Alexander Mai
|
4ea9655685
|
Adjust CXXFLAGS on travis
|
2015-11-08 13:33:05 +01:00 |
Alexander Mai
|
445907d930
|
Makefile: Move -std=c++0x to CXXFLAGS to allow using other compilers
|
2015-11-08 12:52:56 +01:00 |
Daniel Marjamäki
|
48da1d5396
|
Refactoring CheckBufferOverrun
|
2015-11-08 12:39:08 +01:00 |
PKEuS
|
32f0cbb6ad
|
Fixed false positive eraseDereference with range-based for-loops (#7106)
|
2015-11-08 09:42:55 +01:00 |
Daniel Marjamäki
|
7d6e1974eb
|
Fixed #7104 (False positive arrayIndexOutOfBounds)
|
2015-11-08 09:30:23 +01:00 |
Miika-Petteri Matikainen
|
1d4e33e792
|
Treat *.hh and *.hxx files as C++ files
Previously they were erroneously detected as C files.
|
2015-11-08 09:43:06 +02:00 |
PKEuS
|
fdb596fa05
|
Do not set "pure" flag if function is declared as "= default" (#7101)
|
2015-11-07 22:21:50 +01:00 |
Matthias Krüger
|
dc823c65fa
|
testrunner: add testcase for crash which was fixed in previous 2 commits.
|
2015-11-07 20:48:52 +01:00 |
Daniel Marjamäki
|
35ed902e3f
|
Try to fix crash when using getMaxValue()
|
2015-11-07 19:59:48 +01:00 |
Daniel Marjamäki
|
32627dc558
|
try to fix internal errors detected by Travis
|
2015-11-07 19:47:30 +01:00 |
Daniel Marjamäki
|
9c7271a5e9
|
CheckBufferOverrun: The simplifyKnownVariables() has been reduced, use ValueFlow instead
|
2015-11-07 18:12:01 +01:00 |
Daniel Marjamäki
|
3655ce7222
|
Fix typo in match pattern
|
2015-11-07 16:06:37 +01:00 |
Daniel Marjamäki
|
f7a7a8a95c
|
Fixed #6934 (False positive returnLocalVariable - assigning local array to function argument)
|
2015-11-07 15:07:26 +01:00 |
Daniel Marjamäki
|
d0ab3aea70
|
CheckBufferOverrun: Minor fixes for strings
|
2015-11-07 15:05:56 +01:00 |
PKEuS
|
9a879fc828
|
Fixed false positives with pointerSize being shown even if no sizeof() is used (#7100).
|
2015-11-07 13:19:06 +01:00 |
Alexander Mai
|
2554674f4b
|
Add regression test for previously fixed #6064, and TODO test for #6081
|
2015-11-07 11:17:44 +01:00 |
PKEuS
|
49f6231756
|
Fixed two issues in CheckSizeof::checkSizeofForPointerSize()
|
2015-11-07 09:35:30 +01:00 |
Alexander Mai
|
598809a834
|
Fix multi-threading by converting static member variables to instance variables
|
2015-11-06 22:49:02 +01:00 |
PKEuS
|
0ac89c8af2
|
Fixed internal warning
|
2015-11-06 22:21:39 +01:00 |
PKEuS
|
b20a7e3192
|
Refactorization: Moved two tests to testgarbage.cpp
Fixed wrong comment in testcppcheck.cpp (forgotten in previous commit)
|
2015-11-06 21:58:49 +01:00 |
PKEuS
|
61b16909bd
|
Fixed false negative pointerSize with member variables.
Fixed wrong comment in testcppcheck.cpp
|
2015-11-06 21:48:56 +01:00 |
Aleksandr Pikalev
|
2d0ecc08c1
|
Check pointers for NULL before utilizing and do not check it later
|
2015-11-06 20:24:09 +01:00 |
PKEuS
|
7a90b763f6
|
Tokenizer::simplifyLabelsCaseDefault(): Do not insert ; between two cases.
|
2015-11-06 19:59:23 +01:00 |
PKEuS
|
95a0c0f14c
|
Limit the number of cases created by Tokenizer::simplifyCaseRange().
|
2015-11-06 19:21:56 +01:00 |
PKEuS
|
1fe1d7ea4a
|
Extended Tokenizer::simplifyCaseRange() to support also ranges of chars.
|
2015-11-06 18:46:43 +01:00 |
PKEuS
|
41b1b9d850
|
Support case ranges (gcc extension, #6490)
|
2015-11-06 18:39:03 +01:00 |
PKEuS
|
2ac8da0497
|
Fixed #6548 also for noexcept
|
2015-11-06 18:00:59 +01:00 |
PKEuS
|
72bc6d1f33
|
Refactorization: Fixed VS warning about variable shadowing.
|
2015-11-06 17:35:08 +01:00 |
PKEuS
|
be36539ad7
|
Fixed AST generation for C++11-style initialization (#6528)
|
2015-11-06 17:34:26 +01:00 |
PKEuS
|
cc783b0186
|
Updated/Improved several readme files
|
2015-11-06 15:19:08 +01:00 |
PKEuS
|
62bc827eb0
|
Fixed createLinks2() when inheriting from a template (#6601)
|
2015-11-06 10:44:37 +01:00 |
PKEuS
|
eb2b0fa0d0
|
Fixed wrongly detected unconditional scope with C++11-style initialization in SymbolDatabase (#6581)
|
2015-11-06 10:16:44 +01:00 |
PKEuS
|
eefea507b9
|
Use ValueFlow in CheckIO::checkWrongPrintfScanfArguments() (#6563)
|
2015-11-06 09:52:22 +01:00 |
Alexander Mai
|
3177d73fb0
|
#7089 segmentation fault (invalid code) in Tokenizer::simplifyTokenList1. Refactor some functions to accept argument as refernce instead of pointer
|
2015-11-05 19:00:08 +01:00 |
Aleksandr Pikalev
|
ebfa40c369
|
Fixed #7047 (Library Editor crashes if I try to edit not selected function)
|
2015-11-05 16:34:08 +01:00 |
PKEuS
|
83a816b109
|
Fixed crash on garbage code (#7085)
|
2015-11-04 10:26:55 +01:00 |
PKEuS
|
6c20f4b2a2
|
Fixed crash on garbage code (#7090)
|
2015-11-04 10:10:20 +01:00 |