Dmitry-Me
|
d72b98bbaa
|
Reduce code duplication, cleanup variable names
|
2014-08-25 11:49:17 +04:00 |
PKEuS
|
69b7f91034
|
Support :: in some more places
|
2014-08-19 11:36:32 +02:00 |
PKEuS
|
5d302716e7
|
Refactorized Variable::isIntegralType() and Variable::isFloatType():
- Cached property
- Make use of it in several checks
- float* is flagged as floating point type
|
2014-08-09 11:45:13 +02:00 |
Dmitry-Me
|
6e1568a6db
|
Simplify code - bail out early, vreak loops early, reorder checks and declarations.
|
2014-06-09 13:35:30 +04:00 |
PKEuS
|
d42275c5f1
|
Fixed TODO in checkAssignBoolToFloat
|
2014-05-24 20:06:45 +02:00 |
Alexander Mai
|
e6a394d514
|
CheckBool::checkAssignBoolToFloat() - don't crash on unknown variables
|
2014-05-24 19:15:43 +02:00 |
Alexander Mai
|
2c8087e34f
|
#4375 New check: add style warning about 'double d=false;' Add a new check to CheckBool. Also implement Variable::isFloatingType()
|
2014-05-24 18:35:49 +02:00 |
Daniel Marjamäki
|
225fb96554
|
Fixed #5627 (False positive assignBoolToPointer)
|
2014-03-31 15:55:54 +02:00 |
Daniel Marjamäki
|
581886636d
|
CheckBool::checkComparisonOfBoolExpressionWithInt: Rewrite the check using AST instead of token list
|
2014-03-27 16:10:43 +01:00 |
Daniel Marjamäki
|
2248cdfea0
|
CheckBool::checkAssignBoolToPointer: Refactor to use AST.
|
2014-03-27 05:39:48 +01:00 |
Daniel Marjamäki
|
23efc68dd7
|
use nullptr
|
2014-02-16 10:32:10 +01:00 |
Daniel Marjamäki
|
fd3a8a2a18
|
Update copyright
|
2014-02-15 07:45:39 +01:00 |
Daniel Marjamäki
|
aa65799c19
|
pointerArithBool: Updated error message
|
2013-12-25 19:56:00 +01:00 |
Daniel Marjamäki
|
a3dd65caee
|
Fixed #5126 (new check: missing pointer dereference or pointer overflow 'if (p+1)')
|
2013-12-23 18:39:05 +01:00 |
Daniel Marjamäki
|
5c072993e3
|
CheckBool: Fixed false negative when assigning bool to pointer '; s.p = true; '
|
2013-10-29 16:16:52 +01:00 |
Daniel Marjamäki
|
682e68b1b6
|
Fixed #5077 (False positive: Comparison of boolean result with relational operator ((X + (Y < 0)) <= b))
|
2013-10-09 05:43:50 +02:00 |
Daniel Marjamäki
|
f9cf148012
|
CheckBool: Skip 'bool' type checking in C code
|
2013-10-07 18:41:07 +02:00 |
Daniel Marjamäki
|
b81de5494e
|
CheckBool: Fixed false positive for calculation using bool result in rhs
|
2013-10-07 18:01:08 +02:00 |
Daniel Marjamäki
|
d2025363d0
|
CheckBool: Fix false positive for '(a != boolexpr || c)' if a is a int
|
2013-10-07 17:44:19 +02:00 |
Daniel Marjamäki
|
83f9503839
|
CheckBool: Fixed false positives for non-bool expressions that contain ! operator
|
2013-10-07 16:37:51 +02:00 |
Daniel Marjamäki
|
023d0e7cb8
|
Fixed #5072 (False positive: comparisonOfBoolWithInvalidComparator even without explicit bool type)
|
2013-10-07 16:16:07 +02:00 |
Daniel Marjamäki
|
9f23b7a1b4
|
Fixed #5063 (False positive for comparisonOfBoolWithInvalidComparator)
|
2013-10-06 10:39:08 +02:00 |
Daniel Marjamäki
|
db4ca13184
|
CheckBool: refactoring isBoolExpr
|
2013-10-05 11:31:55 +02:00 |
Daniel Marjamäki
|
f2fdd967f5
|
Fixed #5046 (False positive: Boolean value assigned to pointer)
|
2013-10-05 08:53:37 +02:00 |
Daniel Marjamäki
|
348f3fa97f
|
Fixed #5058 (False positive: (warning) Comparison of a boolean expression with an integer.)
|
2013-10-05 08:33:33 +02:00 |
Daniel Marjamäki
|
ddefe62c12
|
astyle formatting
|
2013-09-11 15:49:40 +02:00 |
Daniel Marjamäki
|
51ad747317
|
Fixed false positive in new 'x>-1<5' check when using templates
|
2013-09-07 18:24:35 +02:00 |
Daniel Marjamäki
|
08556d071e
|
Fixed #5016 (false negative: condition is always true / comparing boolean result with '<' (x > -1 < 5))
|
2013-09-07 11:32:11 +02:00 |
Daniel Marjamäki
|
c96586b2a9
|
"automatic conversion from iso-8859-1 formatting to utf-8"
|
2013-08-21 19:31:01 +00:00 |
Daniel Marjamäki
|
f257c62858
|
Fixed #4846 (false positive: (warning) Comparison of a boolean with an integer.)
|
2013-08-21 16:17:19 +02:00 |
PKEuS
|
a9a5dc0354
|
Updated to AStyle 2.03, require this version
|
2013-08-07 16:27:37 +02:00 |
PKEuS
|
42fcb04d0c
|
Moved checks related to boolean type (not condition checking!) from checkother into new file
|
2013-04-10 09:25:50 -07:00 |