Commit Graph

13090 Commits

Author SHA1 Message Date
PKEuS 0d37c4df04 Fixed three unique crashs on garbage code (#6613).
Removed redundant copy of string in templatesimplifier.cpp
2015-04-01 12:43:24 +02:00
PKEuS 4c3a7661c3 Merge pull request #565 from Dmitry-Me/cacheAndReuse
Cache and reuse value
2015-04-01 11:30:13 +02:00
PKEuS 04a3196a32 Merge pull request #576 from Dmitry-Me/anyParameterType
Constructor parameter type need not be a number
2015-04-01 11:29:44 +02:00
orbitcowboy 524585f566 windows.cfg: Added support for more Comm functions. 2015-03-31 08:33:27 +02:00
orbitcowboy d379ebed2d Fixed typos. No functional changes. [ci-skip] 2015-03-30 16:41:53 +02:00
orbitcowboy f7c724e3eb windows.cfg: Added support for more windows functions. 2015-03-30 16:25:36 +02:00
orbitcowboy dde34bb88c #6135: Added test case to testgarbage in order to ensure that this issue does not appear again. 2015-03-30 15:33:24 +02:00
Daniel Marjamäki e3bff8ff07 astyle formatting 2015-03-29 21:05:18 +02:00
amai2012 022b40b36f Merge pull request #581 from Dmitry-Me/moreTestsForDeleteWithComma
Test simplification of "delete a, b, c"
2015-03-29 20:40:01 +02:00
Dmitry-Me 7c402afeb7 Preprocessor: Reduce overhead from searching for fallthrough comments when not needed 2015-03-29 09:28:17 +02:00
Dmitry-Me 712b101862 Test simplification of "delete a, b, c" 2015-03-27 17:49:35 +03:00
Daniel Marjamäki b637e70d63 Merge pull request #579 from Dmitry-Me/dontCallAbort
Don't call abort() in the middle of C++ code
2015-03-26 16:15:59 +01:00
Dmitry-Me e36ff852cd Don't call abort() in the middle of C++ code 2015-03-26 15:26:08 +03:00
amai2012 c70db2a751 Merge pull request #577 from Dmitry-Me/properSimplifyDeleteWithComma
Proper simplify delete a,b
2015-03-25 22:38:35 +01:00
Dmitry-Me e8f0abf259 Proper simplify delete a,b 2015-03-25 16:54:23 +03:00
Dmitry-Me d735918a8a Constructor parameter type need not be a number 2015-03-25 14:56:45 +03:00
Daniel Marjamäki 9846ff10b2 Merge pull request #575 from Dmitry-Me/avoidIntegerTruncation
Avoid value truncation
2015-03-25 09:58:42 +01:00
Dmitry-Me 9398fa810b Avoid value truncation 2015-03-25 10:39:09 +03:00
PKEuS be4e51f00b Merge pull request #571 from Dmitry-Me/omitUnneededActions3
Omit unneeded actions
2015-03-24 19:25:22 +01:00
PKEuS b9ff2fd922 Merge pull request #573 from Dmitry-Me/removeDuplicateCheck
Remove duplicate check
2015-03-24 19:24:14 +01:00
amai2012 a894300004 Merge pull request #574 from Dmitry-Me/resolveCid1288510
Resolve CID 1288510
2015-03-24 19:23:11 +01:00
amai2012 035faa4b6b Merge pull request #572 from Dmitry-Me/mergeOverlappingPatterns4
Merge overlapping patterns
2015-03-24 16:55:37 +01:00
Dmitry-Me 618c038448 Resolve CID 1288510 2015-03-24 17:59:24 +03:00
Dmitry-Me 8a4033e13a Omit unneeded actions 2015-03-24 16:01:59 +03:00
Dmitry-Me c9cdba5865 Remove duplicate check 2015-03-24 15:58:03 +03:00
Dmitry-Me 4201279954 Merge overlapping patterns 2015-03-24 10:22:26 +03:00
Daniel Marjamäki a3a5c74bbf Revert "Remove bitwise-or abuse"
This reverts commit 7017b051fe.
2015-03-24 08:07:15 +01:00
Dmitry-Me 9a1b543c07 Tokenizer: Add testcase for 'delete a, a=0;' 2015-03-24 07:59:17 +01:00
PKEuS ab97d8dd6f Merge pull request #569 from Dmitry-Me/removeBitwiseOpAbuse
Remove bitwise-or abuse
2015-03-23 20:23:07 +01:00
amai2012 50a33e90f2 Merge pull request #568 from Dmitry-Me/betterVariableName
Better variable name
2015-03-23 19:58:07 +01:00
Dmitry-Me 7017b051fe Remove bitwise-or abuse 2015-03-23 13:30:05 +03:00
Dmitry-Me 0383998aea Better variable name 2015-03-23 11:58:56 +03:00
PKEuS 19f770e41b Fixed #6604 - don't create template instanciations with "const const const const..." patterns. 2015-03-22 11:20:47 +01:00
amai2012 a9b7299dc3 Merge pull request #566 from simartin/ticket_6587
Ticket #6587: Do not consider template expressions in decltype as instantiations
2015-03-21 18:13:46 +01:00
Simon Martin ec1eebf585 Ticket #6587: Never consider a template parameter's default value as an instantiation. 2015-03-21 16:30:00 +01:00
Christian Ehrlicher 18beee3e17 added more macros to qt.cfg 2015-03-21 15:26:32 +01:00
amai2012 bb9848d24a Merge pull request #563 from Dmitry-Me/deconvoluteCheck
Make the check slightly less convoluted
2015-03-21 12:27:37 +01:00
Alexander Mai 149b0bbd24 Merge branch 'master' of https://github.com/danmar/cppcheck 2015-03-21 12:26:30 +01:00
Alexander Mai 42d9afe7de posix.cfg add more interfaces from stdlib.h. run astyle 2015-03-21 12:26:07 +01:00
amai2012 1b9b57524e Merge pull request #564 from Dmitry-Me/mergeOverlappingPatterns1
Merge overlapping patterns
2015-03-20 19:22:17 +01:00
Dmitry-Me 8f21aba606 Cache and reuse value 2015-03-20 12:39:51 +03:00
Matthias Krüger 80be769912 matchcompiler: pep8 fixes 2015-03-20 09:32:56 +01:00
Matthias Krüger 7ef74924e1 htmlreport: pep8 fixes 2015-03-20 09:32:16 +01:00
Dmitry-Me 4a75ac58cf Merge overlapping patterns 2015-03-20 11:06:18 +03:00
Dmitry-Me 5f6aaa4573 Make the check slightly less convoluted 2015-03-20 11:03:11 +03:00
Daniel Marjamäki 42b310e337 Merge pull request #560 from Dmitry-Me/moreNegativePointerTests
More tests for checking negative pointers
2015-03-20 06:30:03 +01:00
Daniel Marjamäki dc5bdf6eb5 Merge pull request #562 from simartin/restore_build_osx
Restore build on Mac OS X
2015-03-20 06:28:42 +01:00
Simon Martin 2587ebf189 Restore build on Mac OS X on which we're force to use GNU's STL, that does not have cend()... 2015-03-19 20:25:57 +01:00
amai2012 4086127144 Merge pull request #559 from Dmitry-Me/omitUnneededActions2
Omit unnecessary operations
2015-03-19 19:03:47 +01:00
amai2012 a77946f65f Merge pull request #561 from Dmitry-Me/eliminateTcharDuplication
Eliminate duplication in TCHAR functions substitution
2015-03-19 19:01:58 +01:00