PKEuS
|
1627b19dd6
|
Refactorizations:
- Call std::string::find() with char instead of char* where possible
- Avoid string copying
- Optimized several Token::tokAt/strAt calls
|
2015-08-16 10:33:51 +02:00 |
Daniel Marjamäki
|
4bde4d5a4a
|
updated style messages
|
2015-06-01 21:22:47 +02:00 |
Daniel Marjamäki
|
a8d7897471
|
Fixed travis failure
|
2015-05-25 18:19:40 +02:00 |
Daniel Marjamäki
|
a9db06c641
|
longCast: Only warn when original name is 'long'. avoids some FPs when typedef types are used.
|
2015-05-25 18:06:20 +02:00 |
Daniel Marjamäki
|
c0b33d2fef
|
Fixed #6707 (new check: possible truncation when assigning int result to long)
|
2015-05-25 10:02:17 +02:00 |
Daniel Marjamäki
|
88f59ad7e8
|
Partial fix for #6656 (Allow that CWE is mapped for error message)
|
2015-04-25 17:48:11 +02:00 |
Matthias Krüger
|
42f0955e3f
|
Move more setting checks out of loops and use const bools instead. Reorder a few related checks.
Follow up to eedcb6abcb .
|
2015-04-10 14:31:19 +02:00 |
Matthias Krüger
|
eedcb6abcb
|
move setting flags checks out of for loops, make them const.
|
2015-04-07 07:23:28 +02:00 |
Daniel Marjamäki
|
ff11ba9847
|
Updated copyright year to 2015
|
2015-01-03 12:14:58 +01:00 |
Daniel Marjamäki
|
4483c3e820
|
Fixed #6234 (FP : shift by too many bits is undefined on a QT container)
|
2014-10-23 06:52:19 +02:00 |
Daniel Marjamäki
|
d354cdc02c
|
Fixed #6168 (False positive: sign conversion for inner calculation)
|
2014-09-14 10:29:58 +02:00 |
Daniel Marjamäki
|
8cbd013d7f
|
checkSignConversion: dont warn for + and -
|
2014-09-12 18:58:31 +02:00 |
Daniel Marjamäki
|
d60cf16eb8
|
Sign conversion: Improved check. When its not explicit that 'int' variable is signed but it can have negative values, assume its signed
|
2014-09-12 16:18:42 +02:00 |
PKEuS
|
fb0d145b34
|
Don't show inconclusive message redundantCopyLocalConst if --inconclusive is not set.
Ran AStyle
|
2014-09-11 19:45:52 +02:00 |
PKEuS
|
87e6a3501a
|
Added checktype.cpp to VS solution; Fixed MSVC warning about signed/unsigned mismatch
|
2014-09-11 18:47:28 +02:00 |
Daniel Marjamäki
|
7847263451
|
Fixed #6158 (New check: dangerous sign conversion)
|
2014-09-11 18:10:19 +02:00 |