Daniel Marjamäki
|
1c8c26a488
|
1.66: Set version
|
2014-08-02 11:58:30 +02:00 |
PKEuS
|
e486e8cc62
|
Updated WiX installer and VS solution to VS12 and Qt5
|
2014-08-02 11:52:37 +02:00 |
PKEuS
|
6d3cb86d2a
|
Merge pull request #382 from Dmitry-Me/bringDeclarationsCloserToWhereTheyAreNeeded
Bring variable declarations closer to where they're first used.
|
2014-08-02 11:12:34 +02:00 |
Daniel Marjamäki
|
f2e3700142
|
Merge pull request #383 from moshekaplan/patch-1
Updated message for strncat usage
|
2014-08-02 11:10:16 +02:00 |
Daniel Marjamäki
|
7237b01979
|
Fixed Cppcheck warning
|
2014-08-02 10:07:23 +02:00 |
Daniel Marjamäki
|
4dc73e3a5b
|
Use Token::simpleMatch for simple pattern
|
2014-08-01 17:47:02 +02:00 |
Daniel Marjamäki
|
3f5da22d2b
|
Tokenizer: Added FIXME for keywords handling
|
2014-08-01 17:27:35 +02:00 |
Daniel Marjamäki
|
a943a0739a
|
Tokenizer: Don't remove struct member in Tokenizer::simplifyKeyword()
|
2014-08-01 17:19:08 +02:00 |
Daniel Marjamäki
|
f908959196
|
ValueFlow: improved analysis in for loops to avoid fp
|
2014-08-01 16:12:57 +02:00 |
Daniel Marjamäki
|
544a5957e1
|
Token: Added utility function getStrSize as a complement to getStrLength
|
2014-08-01 13:12:18 +02:00 |
Daniel Marjamäki
|
404c13ef4b
|
Fixed ValueFlow --debug output
|
2014-08-01 09:50:30 +02:00 |
Daniel Marjamäki
|
688b798b88
|
ValueFlow: Cleanup variable
|
2014-08-01 08:59:07 +02:00 |
Daniel Marjamäki
|
57c2e928d1
|
ValueFlow: Simple multivariable control flow analysis to avoid FP when 'control variable' is used
|
2014-08-01 07:35:15 +02:00 |
PKEuS
|
95afa51b24
|
Fixed crash #5991: Don't crash when lambda is incomplete
Fixed crash #6004: Support struct initializations in AST
|
2014-07-31 23:15:36 +02:00 |
Moshe Kaplan
|
e881495eaf
|
Updated message for strncat usage
|
2014-07-31 13:51:29 -04:00 |
Daniel Marjamäki
|
5de1e35350
|
CheckBufferOverrun: Fixed minsize checking of string literals. Check sizeof string instead of strlen.
|
2014-07-30 20:35:21 +02:00 |
Daniel Marjamäki
|
25846cf223
|
ValueFlow: Fix for if/else valueflow analysis
|
2014-07-30 18:12:33 +02:00 |
Daniel Marjamäki
|
473b1bdb2b
|
Multicondition: Fixed FP when using dynamic_cast
|
2014-07-30 11:23:09 +02:00 |
Dmitry-Me
|
ee180787eb
|
Bring variable declarations closer to where they're first used.
|
2014-07-29 13:59:45 +04:00 |
Daniel Marjamäki
|
905a383ac2
|
Merge pull request #381 from Dmitry-Me/checkBooleanFlagFirst
Run cheaper check first, don't check the same condition twice.
|
2014-07-28 18:02:49 +02:00 |
Daniel Marjamäki
|
8a1c5d6fce
|
Fixed #6011 (crash: libreoffice/binfilter svt_enhwmf.cxx)
|
2014-07-28 16:33:42 +02:00 |
Daniel Marjamäki
|
fdfea717c6
|
Suspicious string comparison: Refactoring using AST. Fixed FP in Lac.
|
2014-07-28 14:27:35 +02:00 |
Dmitry-Me
|
dc03b98e60
|
Run cheaper check first, don't check the same condition twice.
|
2014-07-28 14:58:19 +04:00 |
Robert Reif
|
90bc59e0fa
|
Fixed #6009 (Detect type mismatch in printf-like function when type is returned)
|
2014-07-28 09:16:35 +02:00 |
Daniel Marjamäki
|
76020d2ad0
|
astIsFloat: expression 'floatvar ? 0x40 : 0' is not float
|
2014-07-26 09:09:58 +02:00 |
Dmitry-Me
|
431453f53e
|
Reuse previously computed values, use more const.
|
2014-07-25 15:05:13 +04:00 |
Daniel Marjamäki
|
216ecd06e1
|
Fix Cppcheck warning. Make function Preprocessor::readpreprocessor static instead of const.
|
2014-07-25 12:43:55 +02:00 |
Dmitry-Me
|
f104aa237f
|
Bring declarations closer to where they're needed.
|
2014-07-24 18:34:13 +04:00 |
Dmitry-Me
|
a4d597451b
|
Resolve CID 1214637.
|
2014-07-24 16:54:20 +04:00 |
Dmitry-Me
|
615eb32fdc
|
Use temp variables to avoid repeated actions in code.
|
2014-07-23 18:51:23 +04:00 |
Dmitry-Me
|
07c120f1af
|
Cache option flags and check them first.
|
2014-07-23 17:06:27 +04:00 |
Daniel Marjamäki
|
2e60f30bfc
|
Merge pull request #372 from Dmitry-Me/dontUseArrayAtWhenItWouldntThrow
Use [], not at() when the index is guaranteed to be valid.
|
2014-07-23 14:15:42 +02:00 |
Daniel Marjamäki
|
c5e9da2984
|
xml dump: add more token attributes
|
2014-07-21 12:44:53 +02:00 |
Dmitry-Me
|
cd13232062
|
Use [], not at() when the index is guaranteed to be valid.
|
2014-07-21 10:37:08 +04:00 |
Daniel Marjamäki
|
5ae6234729
|
Fixed #5978 (false positive: Array 'm_pool_vector[-1]' accessed at index 0, which is out of bounds.)
|
2014-07-20 11:44:25 +02:00 |
Daniel Marjamäki
|
1e5eab8f17
|
xml dump: Added function attribute in scope
|
2014-07-20 11:44:01 +02:00 |
Daniel Marjamäki
|
328cc7b8f5
|
Fixed #5996 (false positive: Clarify calculation precedence for '+' and '?'.)
|
2014-07-19 18:29:53 +02:00 |
Daniel Marjamäki
|
af2b94e322
|
Fixed #5826 (Change error message for 'throw in destructor' check)
|
2014-07-19 03:29:50 +02:00 |
Daniel Marjamäki
|
c252885bf8
|
Merge pull request #369 from Dmitry-Me/useBoolFlagToAvoidComparisonDuplication
Use boolean flag to avoid comparison duplication
|
2014-07-18 18:11:53 +02:00 |
Daniel Marjamäki
|
2cc31acabb
|
Fixed #5922 (FP: passedByValue for std::string::value_type)
|
2014-07-18 15:51:59 +02:00 |
Dmitry-Me
|
fae9d975cf
|
Use boolean flag to avoid comparison duplication
|
2014-07-18 13:31:31 +04:00 |
Daniel Marjamäki
|
946c139043
|
Merge pull request #367 from Dmitry-Me/fixVariableCapitalization
Fix variable capitalization.
|
2014-07-18 11:15:17 +02:00 |
Alexander Mai
|
55e45add4a
|
Fix compiler warnings
|
2014-07-17 20:04:56 +02:00 |
Dmitry-Me
|
f995f67a11
|
Fix variable capitalization.
|
2014-07-17 12:38:09 +04:00 |
Daniel Marjamäki
|
425e7527bb
|
Merge pull request #366 from Dmitry-Me/useTempVariableToOmitRecomputation
Use temp variable to omit recomputing the same value.
|
2014-07-17 10:27:47 +02:00 |
PKEuS
|
8c96cc59c9
|
Fixed false positive #5976: Properly handle shift from stream.
|
2014-07-17 10:03:58 +02:00 |
Daniel Marjamäki
|
15bb447fdc
|
Fixed #5965 (False positive zerodiv - loop iterating over double variable)
|
2014-07-17 08:44:55 +02:00 |
Dmitry-Me
|
c829dff2b9
|
Use temp variable to omit recomputing the same value.
|
2014-07-17 10:44:19 +04:00 |
Daniel Marjamäki
|
b1e5b015df
|
xml dump: output some more info in the dump
|
2014-07-16 15:27:13 +02:00 |
Daniel Marjamäki
|
51c2245a07
|
Merge pull request #364 from Dmitry-Me/tempVariablesAndBetterNames
Shorten code by using temp variables, cleanup variable names.
|
2014-07-16 15:22:11 +02:00 |