Commit Graph

11087 Commits

Author SHA1 Message Date
Matthias Krüger ebb6dc3388 update Makefile with dmake. 2014-03-03 12:32:19 +01:00
Matthias Krüger c108321329 dmake: when building cppcheck. do not include "externals" dir, there are no files in there (only the tinyxml dir which is already handled via -Iexternals/tinyxml). 2014-03-03 12:09:21 +01:00
Matthias Krüger a9df4a3288 man, htdocs, gui, test, tools: bump a few more copyrights to 2014 2014-03-03 11:03:17 +01:00
Matthias Krüger 685e44fb85 travis: add gdb as dependency, it is used for cppcheck-gui.
former output:

{ test -n "" && DESTDIR="" || DESTDIR=.; } && test $(gdb --version | sed -e 's,[^0-9]\+\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72
&& gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $DESTDIR" -ex quit 'cppcheck-gui' && test -f
cppcheck-gui.gdb-index && objcopy --add-section '.gdb_index=cppcheck-gui.gdb-index' --set-section-flags '.gdb_index=readonly'
'cppcheck-gui' 'cppcheck-gui' && rm -f cppcheck-gui.gdb-index || true
/bin/sh: 1: gdb: not found
/bin/sh: 1: test: -gt: unexpected operator
2014-03-03 10:19:26 +01:00
Matthias Krüger 49f34b8df4 readme: update "g++ (for experts)" build commands. 2014-03-03 08:30:05 +01:00
Daniel Marjamäki de7e8b78cf Merge pull request #247 from simartin/ticket_5425
Ticket #5425: Avoid infinite recursion in checkMemsetType
2014-03-03 07:23:56 +01:00
Simon Martin 8baf8dbebb Ticket #5425: Avoid infinite recursion in checkMemsetType for invalid input 2014-03-03 07:19:32 +01:00
Daniel Marjamäki 8eddace2da htdocs: updated download link to 1.64 windows installer 2014-03-02 19:27:51 +01:00
Daniel Marjamäki 15a860aec7 htdocs: update download link to 1.64 installer 2014-03-02 19:20:29 +01:00
Daniel Marjamäki f5cec6ea57 Makefile: use debug mode 2014-03-02 14:57:29 +01:00
Daniel Marjamäki 31755b621c Merge pull request #246 from simartin/ticket_5356
Ticket #5356: Added test case that works following the fix for #5506.
2014-03-02 14:55:52 +01:00
Daniel Marjamäki 4dee3da1bd Merge pull request #245 from simartin/ticket_5478
Ticket #5478: Only functions and equal operators might return a temporary
2014-03-02 14:53:25 +01:00
Simon Martin 4057242cb2 Ticket #5356: Added test case that works following the fix for #5506. 2014-03-02 10:10:58 +01:00
Daniel Marjamäki a0c84d144f 1.64: Updated Makefile 2014-03-02 09:59:34 +01:00
Daniel Marjamäki 6a2f326e50 createrelease: small update 2014-03-02 09:59:03 +01:00
Daniel Marjamäki 4842115a56 1.64 : Update versions 2014-03-02 09:55:39 +01:00
Daniel Marjamäki ebb59db599 updated AUTHORS file 2014-03-02 09:46:12 +01:00
Simon Martin 875a3f47e7 Ticket #5478: Only functions and equal operators might return a temporary. 2014-03-02 09:39:10 +01:00
Daniel Marjamäki 16e06b3f2a Merge pull request #243 from simartin/ticket_5050_testcase
Ticket #5050: Added test case since it works now.
2014-03-02 08:54:53 +01:00
Daniel Marjamäki aec3f18d77 Merge pull request #244 from simartin/ticket_5506
Ticket #5506: Don't crash upon invalid template declaration
2014-03-02 08:54:07 +01:00
Simon Martin 3518e02d23 Ticket #5506: Skip template parameters when determining whether a template is a declaration or a definition. 2014-03-01 14:58:47 +01:00
Daniel Marjamäki bef4739853 Library: the bug in tinyxml has been fixed so the workaround can be removed now 2014-03-01 14:09:03 +01:00
PKEuS 357f5076db Updated tinyxml 2014-03-01 11:15:08 +01:00
Simon Martin ef3f135af2 Ticket #5050: Added test case since it works now. 2014-03-01 10:37:55 +01:00
Daniel Marjamäki a41a32ba8a Fixed #5469 (CheckBufferOverrun: Use nullptr) 2014-02-28 17:02:03 +01:00
Daniel Marjamäki 940582645d Merge pull request #242 from matthiaskrgr/travis
travis: compile with -Wunreachable-code .
2014-02-28 06:16:34 +01:00
Alexander Mai 50a184c3e9 Fixed #5166 (segmentation fault (invalid code) in lib/checkother.cpp:329 ( void * f { } void b ( ) { * f } )) 2014-02-27 18:24:51 +01:00
Daniel Marjamäki 361a99f1af htdocs: update visual studio plugin link 2014-02-27 18:19:14 +01:00
Daniel Marjamäki 87c4508954 Spell fix: dont => do not 2014-02-27 16:40:42 +01:00
Matthias Krüger 0866feaf17 travis: compile with -Wunreachable-code . 2014-02-27 16:23:55 +01:00
Alexander Mai a02bbfa47e Fixed #5492 (Fix small bug in MathLib::isFloat()) 2014-02-27 16:08:49 +01:00
Daniel Marjamäki dea4107245 Fix Cppcheck warning 2014-02-26 06:38:48 +01:00
Daniel Marjamäki 7dbfd67da3 Fixed #5493 (False positive: Found a statement that begins with numeric constant / string constant - in the presence of initialization list.) 2014-02-26 06:18:52 +01:00
Daniel Marjamäki 8550289722 Fixed #5452 (AST: wrong handling of unary ::) 2014-02-25 06:36:10 +01:00
Alexander Mai 0747b55485 Fixed #5304 (Wrong simplification of numbers like 001E+07 to 1.0) 2014-02-24 18:52:31 +01:00
Daniel Marjamäki acf5723bdd AST: improved AST printout when --verbose is used 2014-02-24 17:22:29 +01:00
Daniel Marjamäki 8dd7f02e45 Fixed #5381 (Some false positives that came up when using --enable=performance file.c) 2014-02-23 11:02:39 +01:00
Daniel Marjamäki 43d48574c5 ci.py: fixed daca2folder() when results is empty 2014-02-23 10:26:01 +01:00
Daniel Marjamäki 1d801ce7b1 daca2: fixed wget function 2014-02-23 10:21:00 +01:00
Martin Ettl c3a08bf108 TestMathLib: added robustness tests for testing MathLib::isFloat. Ensure it works correctly for preceeding and trailing white spaces. 2014-02-22 21:36:51 +01:00
Martin Ettl 01730d4d16 #5304: added a losts of TODO testcases for MathLib::isFloat(). 2014-02-22 19:55:57 +01:00
Martin Ettl 42a3c5d083 #5304: added a losts of TODO testcases for MathLib::isFlot(). 2014-02-22 19:50:40 +01:00
Daniel Marjamäki f6b42633e8 Fixed #5434 (FP: Out-of-bounds access with ternary operator in loop) 2014-02-22 17:59:12 +01:00
Daniel Marjamäki 34730f623a Fixed #5301 (False positive: (error) Division by zero - variables read from input stream) 2014-02-22 12:09:54 +01:00
Daniel Marjamäki 6273a270c7 daca2: tell wget to overwrite file. We want that the correct file is used. 2014-02-22 07:52:51 +01:00
Daniel Marjamäki 910a90e4c1 Revert "cxx11.h: removed the 'evil workaround'"
This reverts commit 2cb9032d76.
2014-02-21 20:06:55 +01:00
Alexander Mai 82a2279425 Fixed #5304 (Wrong simplification of numbers like 001E+07 to 1.0) 2014-02-20 16:56:49 +01:00
Daniel Marjamäki ed9153ee80 Symbol database: added simple mismatch check in Scope::findFunction when passing address to function that expects a reference 2014-02-19 06:35:51 +01:00
Daniel Marjamäki 690c37633b ValueFlow: Fixed bad values after break/continue 2014-02-17 20:07:38 +01:00
Daniel Marjamäki c050a92bae Fixed #5468 (crash: freebsd: llvm/RegionPrinter.cpp - AST failure) 2014-02-17 17:37:39 +01:00