Daniel Marjamäki
|
bcbcee87d5
|
Library: Changed 'rt' to 'rb' when open files. TinyXml won't choke on CRLF in Windows then. Thanks sam-truscott for telling me this.
|
2013-09-13 07:26:52 +02:00 |
Robert Reif
|
4d82e37078
|
Fixed #5021 (Confusing message about %lf format in printf())
|
2013-09-12 05:54:05 +02:00 |
Daniel Marjamäki
|
ddefe62c12
|
astyle formatting
|
2013-09-11 15:49:40 +02:00 |
PKEuS
|
0439f25bbd
|
Fixed wrong unittest introduced in b36a887608
|
2013-09-10 12:57:28 +02:00 |
Daniel Marjamäki
|
418a3d8399
|
spelling fix: desctructor => destructor
|
2013-09-09 06:14:41 +02:00 |
Daniel Marjamäki
|
4da2e4d4ce
|
Updated authors (vflashm)
|
2013-09-09 05:49:43 +02:00 |
flashm
|
f56a85358b
|
preprocessor optimization, unnecessary map creation removed
it used to be O(n^2), now it's only O(n)
|
2013-09-09 05:48:07 +02:00 |
Robert Reif
|
9be2f6b5d4
|
Fixed #4964 (printf format argument check only supports simple variables)
|
2013-09-08 20:21:00 +02:00 |
Daniel Marjamäki
|
4b1254bc8d
|
Merge pull request #168 from simartin/ticket_4994
Ticket #4994: Don't crash when checking variable scope for invalid input
|
2013-09-08 06:57:42 -07:00 |
Simon Martin
|
843833f907
|
Ticket #4994: Don't crash when checking variable scope for invalid input.
|
2013-09-07 21:16:25 +02:00 |
Daniel Marjamäki
|
2b3e1a28d8
|
Reverted 4f76f8f558 (GUI: wrong multiselection behaviour)
|
2013-09-07 19:38: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
|
0d246f84ca
|
checkZeroDivisionOrUselessCondition: Refactoring
|
2013-09-07 17:54:34 +02:00 |
Daniel Marjamäki
|
6bb6506ce2
|
checkZeroDivisionOrUselessCondition: Fixed false positive when function is called and variable is passed to it
|
2013-09-07 16:18:11 +02:00 |
Goran Džaferi
|
4973ae5183
|
Show Travis CI build status image
|
2013-09-07 12:13:38 +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
|
83c460fc56
|
Fixed #5017 (New check: division by zero, otherwise condition is redundant)
|
2013-09-07 07:40:10 +02:00 |
Daniel Marjamäki
|
40c5924292
|
CheckIO: Handle classes derived from STL
|
2013-09-07 07:20:06 +02:00 |
Robert Reif
|
489a3a6e53
|
Fixed #5015 (strings not being concatinated properly)
|
2013-09-06 05:36:33 +02:00 |
Daniel Marjamäki
|
56680ef399
|
Makefile: auto-updated by dmake
|
2013-09-05 15:55:34 +02:00 |
Daniel Marjamäki
|
9000c233fa
|
Fixed #5012 (Hang when there is syntax error 'else }')
|
2013-09-05 06:38:07 +02:00 |
Robert Reif
|
2fe91e290c
|
CheckIo: Improved %d handling
|
2013-09-05 06:04:41 +02:00 |
Daniel Marjamäki
|
0ba7e4d5ed
|
astyle formatting
|
2013-09-05 01:47:22 +02:00 |
Robert Reif
|
921a1aaa4f
|
CheckIO: Improved handling of %u
|
2013-09-05 01:46:58 +02:00 |
Ettl Martin
|
9ab6655d85
|
Fixed #5007 (Same include guard naming)
|
2013-09-04 20:59:49 +02:00 |
Daniel Marjamäki
|
43b40b7465
|
Refactoring: Reordered includes. Put local ones before system includes.
|
2013-09-04 06:18:22 +02:00 |
Daniel Marjamäki
|
3b8e9f5a2a
|
Fixed #4899 (False positive on unused variable)
|
2013-09-03 17:02:46 +02:00 |
PKEuS
|
05af4f82ce
|
Test GetShowErrorMessages in testcmdlineparser.cpp
|
2013-09-03 11:41:16 +02:00 |
PKEuS
|
8e84f30244
|
Refactorization: Make use of Function::retDef where it makes sense
|
2013-09-03 11:40:43 +02:00 |
PKEuS
|
b36a887608
|
Fixed false positive #5004
|
2013-09-03 10:54:10 +02:00 |
PKEuS
|
6b47ed414a
|
Fixed Function::retDef initialization:
- Move/Copy Constructors and Destructors do not have a return type neither
- Fixed crash in SymbolDatabase::printOut
- Added testing
|
2013-09-03 10:48:01 +02:00 |
Daniel Marjamäki
|
5d7518aa57
|
simplifyCalculations: Improved handling of casts (#4899)
|
2013-09-03 06:27:11 +02:00 |
Robert Reif
|
0dddd424a4
|
CheckIO: Improved handling of function return type
|
2013-09-03 05:50:19 +02:00 |
Daniel Marjamäki
|
6819f5ed18
|
Fixed #4860 (Segfault with another Clucene file)
|
2013-09-02 05:58:55 +02:00 |
Daniel Marjamäki
|
a781a83822
|
Preprocessor: Quicker response for --check-config. No 'normal' code is needed so skip it.
|
2013-09-01 07:13:48 +02:00 |
Robert Reif
|
8790f6d73f
|
Fixed #4999 (Crash with simple code snipped in rev ab30fa3 )
|
2013-08-31 18:58:55 +02:00 |
Daniel Marjamäki
|
6b260c481c
|
CppCheck: Don't run preprocessor rules when --check-config is used
|
2013-08-31 18:38:52 +02:00 |
Daniel Marjamäki
|
ab30fa34e4
|
Refactoring Preprocessor. Use ternary operator instead of if-else.
|
2013-08-31 16:13:52 +02:00 |
Daniel Marjamäki
|
ed58b63712
|
Preprocessor: improved handling when file starts with 0xff or 0xfe that is not part of a BOM
|
2013-08-31 13:17:57 +02:00 |
Daniel Marjamäki
|
5e7791d847
|
astyle formatting
|
2013-08-31 13:17:15 +02:00 |
Daniel Marjamäki
|
997c9ce100
|
Refactor CppCheck::_fileContents to a function parameter
|
2013-08-31 10:28:21 +02:00 |
Daniel Marjamäki
|
e6686dfb5b
|
Cleanup CppCheck::dependencies()
|
2013-08-31 10:13:47 +02:00 |
Robert Reif
|
05f2f0e419
|
CheckIO: improved type info - keep track of original typename.
|
2013-08-31 06:26:39 +02:00 |
Lucas Manuel Rodriguez
|
92b7280d13
|
Fixed #4995 (False positive - Using 'memset' on class that contains a virtual method) - Better fix
|
2013-08-30 22:06:20 -03:00 |
Lucas Manuel Rodriguez
|
c26674dc97
|
Fixed #4995 (False positive - Using 'memset' on class that contains a virtual method)
|
2013-08-30 08:46:33 -03:00 |
Daniel Marjamäki
|
4a1d1ce1a1
|
Fixed #3471 (Unused functions: take __attribute__((constructor)) in to consideration)
|
2013-08-30 06:27:46 +02:00 |
Robert Reif
|
fc435ae9aa
|
CheckIO: fix false negative for a function in a base class not being found, fix false positives and negatives for std::vector operator []
|
2013-08-30 05:41:59 +02:00 |
Lucas Manuel Rodriguez
|
acd65a6829
|
Fixed #4991: False Positive - Dangerous usage of 'arr' (not null-terminated)
|
2013-08-29 08:12:05 -03:00 |
Robert Reif
|
2950eb08cb
|
CheckIO: fix some %I64 related false positives. Ticket: #4964
|
2013-08-29 05:49:16 +02:00 |
Daniel Marjamäki
|
3bd1d53c75
|
Fixed #4941 (segmentation fault (invalid code) in Tokenizer::setVarId)
|
2013-08-28 19:52:41 +02:00 |