Commit Graph

13923 Commits

Author SHA1 Message Date
orbitcowboy 7ae7cdd17b test/cfg: Added test cases for std::string find, that demonstrate false negatives in case of uninitialized variable (#6991). 2015-09-10 17:03:50 +02:00
Dmitry-Me 70d98c7176 Get rid of set object 2015-09-10 17:59:20 +03:00
orbitcowboy 5e50166135 Improved testing of std.cfg. 2015-09-10 16:45:14 +02:00
orbitcowboy f3505f617b Merge pull request #679 from Dmitry-Me/breakLoopEarly4
Explicit continue, break loop early
2015-09-10 13:23:49 +02:00
orbitcowboy bf53065d17 Added a comment, no functional changes [ci-skip]. 2015-09-10 13:23:34 +02:00
Dmitry-Me 78ed37ca86 Explicit continue, break loop early 2015-09-10 12:54:35 +03:00
orbitcowboy 66b9d8bf38 Improved testing of std.cfg and posix.cfg. 2015-09-10 11:50:47 +02:00
Erik Hovland 87e0f35a37 Update the cmake version to the current version 2015-09-10 07:32:28 +02:00
Daniel Marjamäki b7ee08ea65 remove unused script aws.py 2015-09-10 07:29:42 +02:00
orbitcowboy c19c7acb2f Merge pull request #678 from Dmitry-Me/removeUselessCheck
Remove useless check
2015-09-09 18:33:23 +02:00
Dmitry-Me 41c38eb1fc Remove useless check 2015-09-09 18:45:22 +03:00
Dmitry-Me b2cd0aabf5 Simplify overengineered search-replace code 2015-09-09 18:43:32 +03:00
orbitcowboy 2b416419de test/cfg: Improved testing of std.cfg regarding uninitialized variables. 2015-09-09 16:59:26 +02:00
orbitcowboy 52090f5725 test/cfg: Improved testing of std.cfg regarding uninitialized variables. 2015-09-09 16:32:52 +02:00
PKEuS 9bae189d9e Added description of -I to manual, improved formatting. 2015-09-09 15:23:42 +02:00
PKEuS fbbdfa85ca Revert "Fixed false negative #5815"
This reverts commit dc6c278d83.
2015-09-09 14:46:47 +02:00
Dmitry-Me fdfddde496 Reuse cached value 2015-09-09 15:29:06 +03:00
Daniel Marjamäki 47f64df8aa minor refactoring 2015-09-09 10:08:37 +02:00
orbitcowboy 42b3bc68a5 Merge branch 'master' of https://github.com/danmar/cppcheck 2015-09-09 08:53:22 +02:00
orbitcowboy 2f5fd66d00 #6577: Added test cases to test/posix.c. They demonstrate that there is still a false negative. 2015-09-09 08:53:12 +02:00
Matthias Krüger 49e2573b5c fix -Wodr warning/violation putting struct 'VarInfo' into anonyous namespace
Was:

lib/checkclass.cpp:1994:8: warning: type ‘struct VarInfo’ violates one definition rule [-Wodr]
 struct VarInfo {
        ^
lib/checkleakautovar.h:32:7: note: a different type is defined in another translation unit
 class CPPCHECKLIB VarInfo {
       ^
lib/checkclass.cpp:1998:21: note: the first difference of corresponding definitions is field ‘var’
     const Variable *var;
                     ^
lib/checkleakautovar.h:40:39: note: a field with different name is defined in another translation unit
     std::map<unsigned int, AllocInfo> alloctype;
2015-09-08 16:57:28 +02:00
orbitcowboy e929e9e7d9 test/cfg: Improved testing of std.cfg regarding uninitialized variables. 2015-09-08 16:08:43 +02:00
orbitcowboy 60770a8fdc test/cfg: Improved testing of std.cfg regarding uninitialized variables. 2015-09-08 15:43:22 +02:00
Daniel Marjamäki a32aa03035 GUI: Library editor - rename function 2015-09-08 15:38:02 +02:00
orbitcowboy 7d229f082c test/cfg: Improved testing of std.cfg regarding uninitialized variables. 2015-09-08 11:45:13 +02:00
orbitcowboy 4f1e7ec9d3 Merge pull request #674 from Dmitry-Me/omitUnneededActions5
Omit unneeded match checks
2015-09-07 17:54:24 +02:00
Dmitry-Me 662e3c8b8c Omit unneeded match checks 2015-09-07 18:35:15 +03:00
orbitcowboy 03495360d8 test/cfg: Improved testing of std.cfg regarding uninitialized variables. 2015-09-07 16:57:34 +02:00
Daniel Marjamäki d88dc3ed3e Reverted 00c54df07c (don't remove enum declarations) because it caused unexpected false positives 2015-09-06 18:37:22 +02:00
Daniel Marjamäki 00c54df07c Tokenizer: Don't remove enum declarations 2015-09-06 17:44:49 +02:00
Daniel Marjamäki 4cffff7bde GUI: tweaks in library dialog for sorting and filter 2015-09-06 14:54:21 +02:00
Daniel Marjamäki 9f31414179 GUI: Library editor - added sort button and filter edit box 2015-09-06 14:20:27 +02:00
Daniel Marjamäki 65d246aea2 GUI: Library editor - edit argument when user double clicks on it 2015-09-06 10:38:01 +02:00
Daniel Marjamäki ddfc766375 GUI: indentation of cfg files 2015-09-06 09:10:45 +02:00
Daniel Marjamäki 0e5f7fe567 GUI: fixes to save cfg files properly in the library editor 2015-09-06 08:48:13 +02:00
Daniel Marjamäki c8662a7880 Reverted changes to std.cfg. It somehow causes test failures. 2015-09-05 20:36:22 +02:00
Daniel Marjamäki ff0f4cef16 GUI: Add handling of containers to CppcheckLibraryData 2015-09-05 20:13:26 +02:00
Alexander Mai 0d7d1e8350 Add 'run-dmake' as PHONY target to Makefile to avoid linking dmake always 2015-09-05 17:12:15 +02:00
Alexander Mai b46df3d551 Correct attriutes for raise() in library 2015-09-05 16:58:46 +02:00
PKEuS 5c348890b2 Preserve varId in simplifyArrayAccessSyntax (#6523) 2015-09-05 13:14:08 +02:00
Alexander Mai 8a7d62cec8 Merge branch 'master' of https://github.com/danmar/cppcheck 2015-09-05 13:10:13 +02:00
Alexander Mai 9255173267 Correct signal attributes in library 2015-09-05 13:09:56 +02:00
PKEuS eec6914e44 Removed deprecated options --exitcode-suppressions and --suppressions, print an error when they are used 2015-09-05 12:13:58 +02:00
Daniel Marjamäki 40bd3de9b3 GUI: rewrote library dialog xml input/output 2015-09-05 11:37:55 +02:00
Martin Ettl 8ffa96975a test/cfg/: Removed invalid test case. 2015-09-05 09:44:43 +02:00
Alexander Mai 890343dad0 Add regression tests for #678,#6834 - crashes on garbage code 2015-09-05 08:38:50 +02:00
Alexander Mai d0ab00b100 Correct library std.cfg about setjmp 2015-09-05 07:00:22 +02:00
Martin Ettl bcb7dce97e Fix Travis build. 2015-09-04 23:50:50 +02:00
Martin Ettl 6304eb35f9 Improved testing of std.cfg regarding uninitialized variables. 2015-09-04 23:45:31 +02:00
Martin Ettl 27b3461e84 Fixed #6974 - false negative: uninitialized variable not detected (signal). 2015-09-04 22:48:00 +02:00