Commit Graph

13541 Commits

Author SHA1 Message Date
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
amai2012 53e2d425d1 Merge pull request #546 from Dmitry-Me/properChainConditions
Proper if-else-if chain for mutually exclusive conditions
2015-03-14 17:38:06 +01:00
Daniel Marjamäki e1b9e166c2 Merge pull request #547 from Dmitry-Me/misleadingComment
Misleading comment
2015-03-14 16:12:56 +01:00
Daniel Marjamäki b3fe75dbe0 Merge pull request #548 from simartin/xcode_update
Update XCode project
2015-03-14 16:12:17 +01:00
Simon Martin cbaf028d1d Synchronize source file list and enable C++11 build in XCode project. 2015-03-14 14:30:29 +01:00
Dmitry-Me 2b50e73aa9 Misleading comment 2015-03-14 15:18:29 +03:00
Dmitry-Me 89ec9058a8 Proper if-else-if chain for mutually exclusive conditions 2015-03-14 15:09:46 +03:00
PKEuS d8d18ac6dd Merge pull request #545 from Dmitry-Me/removeDeepCopy
Remove unneded deep copy, make reference const
2015-03-14 11:57:52 +01:00
Dmitry-Me 43a19dee8b Remove unneded deep copy, make reference const 2015-03-14 13:45:21 +03:00
Alexander Mai d52e3c8eb7 Fix missing suppression in test/cfg/posix.c 2015-03-13 18:29:46 +01:00
PKEuS 6e0302fd56 Refactorized CheckBool::checkComparisonOfBoolWithInt(), CheckBool::checkComparisonOfBoolExpressionWithInt() and CheckBool::pointerArithBool():
- Support more patterns in CheckBool::pointerArithBool()
- Use AST and SymbolDatabase
- Removed redundant skipping over template arguments
2015-03-12 20:07:48 +01:00
orbitcowboy 86a34db294 posix.cfg: Added more POSIX functions. 2015-03-12 12:06:14 +01:00
Matthias Krüger 85a88c4a31 run dmake 2015-03-12 00:06:18 +01:00