Commit Graph

13153 Commits

Author SHA1 Message Date
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
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
Alexander Mai 5b8d93efda posix.cfg: Fix false positives and add poll() 2015-03-14 23:31:56 +01:00
Simon Martin 32a7a178e8 Code simplification now that ">>" is turned into "> >" when it closes template argument lists. 2015-03-14 23:02:10 +01:00
amai2012 40769c9a59 Merge pull request #549 from simartin/ticket_6437
Ticket #6347: Fix use after delete when simplifying template instantiations
2015-03-14 22:30:58 +01:00
PKEuS 4ec2df92b7 Refactorized testsimplifytypedef.cpp, fixed broken unit test simplifyTypedef99 2015-03-14 20:43:15 +01:00
PKEuS 430d8ca760 Refactorized code in simplifyEnum() 2015-03-14 20:43:14 +01:00
Daniel Marjamäki 0efa113b6e fixed test/cfg/posix.c code 2015-03-14 19:40:13 +01:00
Daniel Marjamäki fd6bd97972 Fixed #6495 (Improve check: uninitialized variable, 3rd function argument) 2015-03-14 19:23:33 +01:00
Simon Martin 4c916641cc Ticket #6347: Fix use after delete when simplifying template instantiations. 2015-03-14 18:46:17 +01:00
Daniel Marjamäki 42c4aa1c49 Fixed #4880 (false negative: uninitialized variable, handling of conditional noreturn scopes) 2015-03-14 17:59:11 +01:00