Commit Graph

24529 Commits

Author SHA1 Message Date
Daniel Marjamäki dc6317878e errmsg: Added "uninitialized member variable" 2009-01-10 17:11:47 +00:00
Leandro Penz 5570f06075 checkmemoryleak: no longer flag "dealloc ; alloc ; if continue ;" as a leak, even with --all 2009-01-10 16:28:04 +00:00
Daniel Marjamäki 1a4cfc6c4f unused struct member: fixed false positive for member "const int a;" 2009-01-10 14:39:20 +00:00
Daniel Marjamäki a2a8378749 astyle: updated the code style 2009-01-10 14:29:59 +00:00
Daniel Marjamäki 8c4260519c sprintf: fixed bug "false positive when variable is used again after snprintf" 2009-01-10 14:27:31 +00:00
Daniel Marjamäki 0c3c00daec errmsg: Added errormessage for 'the class 'classname' doesn't have a constructor' 2009-01-10 13:08:44 +00:00
Daniel Marjamäki 41a73e3b1e errmsg: bug fix 2009-01-10 12:03:18 +00:00
Daniel Marjamäki 985b8fa05f sprintf: fixed false positives with "sprintf(buf, "%i", sizeof(buf)); 2009-01-10 11:19:17 +00:00
Daniel Marjamäki 8842172821 errmsg: reformatted with astyle 2009-01-10 11:17:00 +00:00
Daniel Marjamäki 713b0c7cdd errmsg: The generated code is compliant with the astyle formatting 2009-01-10 07:43:15 +00:00
Daniel Marjamäki 01ec1b15fe dmake: minor fixes. The tools binaries will be put in the tools folder 2009-01-10 07:38:11 +00:00
Daniel Marjamäki d6d26f4705 match: optimisation 2009-01-10 07:10:18 +00:00
Daniel Marjamäki ae4ab2fcb6 preprocessor: code style fixing 2009-01-10 07:09:47 +00:00
Daniel Marjamäki cd9323ca62 preprocessor: handle the \newline in strings 2009-01-10 07:07:51 +00:00
Leandro Penz febdc3fe6e token: when Token::Match reached the end of input, it returned true if the next pattern was !!. It now returns true only if all remaining patterns are !!. 2009-01-10 00:33:48 +00:00
Reijo Tomperi 9e5973fa16 tasks updated, parseArgs refactoring idea was rejected 2009-01-09 20:47:20 +00:00
Daniel Marjamäki 07ba5a23bc tasks: removed the "new checks" sections because these are better reported in the tracker 2009-01-09 20:30:29 +00:00
Daniel Marjamäki f83741503e make: updated the make so that the tools are built with "make all". And added the errormessage.h generator to the makefile also 2009-01-09 19:28:55 +00:00
Daniel Marjamäki 7851b1042f errormessage: added error message ErrorMessage::dangerousUsageStrtol 2009-01-09 19:15:54 +00:00
Daniel Marjamäki 3e5398499f errormessage: added header 2009-01-09 19:01:25 +00:00
Daniel Marjamäki 38286a7d57 dmake: don't generate Makefile if there are no src files 2009-01-09 18:13:00 +00:00
Daniel Marjamäki 6bdb14edfd tokenize: avoid "terminate called after throwing an instance of 'std::out_of_range'" 2009-01-09 18:00:11 +00:00
Reijo Tomperi c7730044c7 Added test case for preprocessor which currently fails. codeblocks project file updated, tools-files added. 2009-01-08 22:28:54 +00:00
Reijo Tomperi 46f4701c26 Main returns now EXIT_SUCCESS or EXIT_FAILURE instead of 0. Feature request fixed: [ 2489787 ] Return value of cppcheck is always 0 2009-01-08 21:30:25 +00:00
Reijo Tomperi 42b661630b astyle changes, missed from previous commits 2009-01-08 21:08:14 +00:00
Reijo Tomperi 66547e7ddf Fixed make install from the generated makefile 2009-01-08 21:02:03 +00:00
Daniel Marjamäki 5d0f8f0cfa errormessage: Added a few more messages for checkother.cpp 2009-01-08 20:56:51 +00:00
Reijo Tomperi 4dfc3a9c3d Added license text to errormessage.h (via code tha generates it) and also mention that it is generated by machine 2009-01-08 20:51:07 +00:00
Daniel Marjamäki 2a2adb037a errormessage: Added the new errormessage handling to cppcheck 2009-01-08 17:32:33 +00:00
Daniel Marjamäki 1bc5740742 errormessage: updated the files. the errormessage.h is automaticly
generated by the tools/errmsg program
2009-01-08 17:31:07 +00:00
Daniel Marjamäki 3bdb3064b0 tools/errmsg: some refactoring 2009-01-08 17:29:44 +00:00
Daniel Marjamäki 24530ebd60 sprintf: check for dangerous usage with sprintf|snprintf with
overlapping data
2009-01-08 06:24:08 +00:00
Daniel Marjamäki 21ae5f2721 runastyle : also set the code style in the tools 2009-01-08 06:23:21 +00:00
Daniel Marjamäki 80c7e00e84 tools: Added headers to source files 2009-01-08 06:22:14 +00:00
Daniel Marjamäki 8f86a941aa Simplify tokens: add a ";" after case and default 2009-01-07 17:49:21 +00:00
Daniel Marjamäki de7de91091 preprocessor: applied patch submitted by kimmov 2009-01-07 17:47:32 +00:00
Daniel Marjamäki 40637e436f Reverted [890] it cause more problems with Visual C++ 2009-01-07 15:43:20 +00:00
Daniel Marjamäki 9239ebc6d1 Visual C++: Applied patch "fix_vs_project.patch" that kimmov submitted 2009-01-07 15:34:11 +00:00
Daniel Marjamäki 5b86188c45 tools: updated the code style 2009-01-07 15:17:02 +00:00
Daniel Marjamäki 8c71c4194f Borland C++: Removed unneeded ifdefs 2009-01-07 15:16:15 +00:00
Daniel Marjamäki 0f111259b9 windows: Added runastyle.bat 2009-01-07 15:08:24 +00:00
Daniel Marjamäki a832dfef58 Borland C++: Updated the project files 2009-01-07 15:07:26 +00:00
Reijo Tomperi 3a2fd91783 Optimization: 6,2 s -> 5,6 s 2009-01-06 22:58:33 +00:00
Reijo Tomperi 0970dcd70f Changed codeblocks project file to reflect new build targets 2009-01-06 21:08:30 +00:00
Daniel Marjamäki 149ab87931 tools/dmake: A few simple fixes. Commited the new Makefile 2009-01-06 20:12:59 +00:00
Daniel Marjamäki 2b671fef16 tools: dmake added a tool for maintaining the Makefile 2009-01-06 20:04:20 +00:00
Reijo Tomperi ff0a24ce56 Doxyfile added 2009-01-06 17:51:49 +00:00
Daniel Marjamäki 0ac9d34d70 tools/errmsg: minor fixes 2009-01-06 17:22:35 +00:00
Daniel Marjamäki a62d3da857 tools/errmsg: code correction 2009-01-06 17:20:19 +00:00
Daniel Marjamäki 934b251ec6 tools/errmsg: generate documentation 2009-01-06 17:09:27 +00:00