Commit Graph

12962 Commits

Author SHA1 Message Date
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
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
Dmitry-Me 20d4c6fad3 Eliminate duplication in TCHAR functions substitution 2015-03-19 18:41:36 +03:00
amai2012 7f7bec5291 Merge pull request #558 from Dmitry-Me/mismatchingTcharNames2
Unicode names set for ANSI
2015-03-19 16:14:23 +01:00
Dmitry-Me 818346622c More tests for checking negative pointers 2015-03-19 16:46:00 +03:00
Dmitry-Me 4fcbe00913 Omit unnecessary operations 2015-03-19 15:14:07 +03:00
Dmitry-Me 9703e6b72b Unicode names set for ANSI 2015-03-19 13:26:08 +03:00
Daniel Marjamäki 302d4d4e71 Merge pull request #557 from Dmitry-Me/mismatchingTcharNames
Mismatching TCHAR function names
2015-03-19 10:53:02 +01:00
Dmitry-Me 7afe4ba5e0 Mismatching TCHAR function names 2015-03-19 10:41:02 +03:00
Daniel Marjamäki dbfbddb178 Merge pull request #555 from Dmitry-Me/eliminateRepeatedFind
Eliminate repeated lookup
2015-03-19 06:45:26 +01:00
Jakub Melka a49efb13f6 Added auto_ptr checking for malloc 2015-03-19 06:41:54 +01:00
Dmitry-Me 8f8ba65a29 Eliminate repeated lookup 2015-03-18 11:52:09 +03:00
amai2012 e5e7c5dc8b Merge pull request #554 from Dmitry-Me/moveDeclaartionToFirstUse
Move declaration to where it's first needed
2015-03-18 09:46:44 +01:00
Dmitry-Me 15a847cc0d Move declaration to where it's first needed 2015-03-18 10:07:13 +03:00
amai2012 63fc5925bc Merge pull request #553 from Dmitry-Me/mergeOverlappingPatterns3
Merge overlapping patterns
2015-03-17 18:17:03 +01:00
Dmitry-Me 3ab3715a88 Merge overlapping patterns 2015-03-17 16:23:19 +03:00
orbitcowboy ce95776abc Reverted my previous commit 4139b6a818. 2015-03-16 10:39:08 +01:00
orbitcowboy 4139b6a818 posix.cfg: cleanup opened, but not closed <arg>-tags. 2015-03-16 09:06:16 +01:00
Alexander Mai cb6ed95ed3 posix.cfg: add more interfaces. Remove include from test which is missing on travis 2015-03-15 13:28:16 +01:00
Alexander Mai 3a690fd18e posix.cfg: fix false positive and add more interfaces 2015-03-15 12:56:24 +01:00
PKEuS e8161aeda6 Refactorized Scope::getVariableList(): Removed scope depth counter, simplified patterns 2015-03-15 12:37:50 +01:00
PKEuS 42673255ed Refactorized testrunner: Create std::string only where necessary 2015-03-15 12:36:40 +01:00
PKEuS e978a681a3 Removed unused variable 2015-03-15 10:19:35 +01:00
PKEuS 0d127f15a5 Fixed grammar mistake; fixed two VS2013 code analysis messages; removed redundant Token::Match call 2015-03-15 10:06:56 +01:00
PKEuS 713d993f71 Some refactorizations in Tokenizer:
- Refactorized simplifyTypedef
- Perform some template specific code only on non-C code
2015-03-15 10:04:44 +01:00
PKEuS 3d83b9e4a6 Added flag --platform=native to avoid performing platform specific code 2015-03-15 10:02:39 +01:00
PKEuS d6751a7987 Merge pull request #537 from Dmitry-Me/decouplePatternMatchingFromOtherChecks
Decouple pattern matching from other checks
2015-03-15 08:50:59 +01:00
Daniel Marjamäki a200e5b32f Merge pull request #551 from simartin/ticket_4335
Ticket #4335: Properly detect and handle template class specialisations
2015-03-15 07:59:11 +01:00
Simon Martin 520314f9a0 Ticket #4335: Properly detect and handle template class specializations. 2015-03-15 00:28:33 +01:00
amai2012 98efc6816f Merge pull request #550 from simartin/follow-up_pr_539
Code simplification now that ">>" is turned into "> >" when it closes template argument lists
2015-03-14 23:38:17 +01:00