Daniel Marjamäki
|
aacd9b9f6b
|
Fixed #6586 (Tokenizer: '>>' is wrongly tokenized as '> >' - if (n1 < len>>1))
|
2015-04-03 20:25:49 +02:00 |
PKEuS
|
72b4809da0
|
Moved simplification of operator names before template and parentheses simplifications (#6576)
|
2015-04-01 13:47:36 +02:00 |
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
|
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
|
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 |
Dmitry-Me
|
712b101862
|
Test simplification of "delete a, b, c"
|
2015-03-27 17:49:35 +03: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 |
Dmitry-Me
|
9a1b543c07
|
Tokenizer: Add testcase for 'delete a, a=0;'
|
2015-03-24 07:59:17 +01: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 |
Alexander Mai
|
42d9afe7de
|
posix.cfg add more interfaces from stdlib.h. run astyle
|
2015-03-21 12:26:07 +01:00 |
Dmitry-Me
|
818346622c
|
More tests for checking negative pointers
|
2015-03-19 16:46:00 +03:00 |
Jakub Melka
|
a49efb13f6
|
Added auto_ptr checking for malloc
|
2015-03-19 06:41:54 +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
|
42673255ed
|
Refactorized testrunner: Create std::string only where necessary
|
2015-03-15 12:36:40 +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 |
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 |
Alexander Mai
|
5b8d93efda
|
posix.cfg: Fix false positives and add poll()
|
2015-03-14 23:31:56 +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 |
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 |
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 |
PKEuS
|
7f2b6881b3
|
Refactorization: Avoid including path.h in (almost) every source file (via library.h)
|
2015-03-11 22:54:45 +01:00 |
PKEuS
|
bc5132e0ac
|
Refactorization: Moved declaration of errout, ... to testsuite.h, uniformized style
|
2015-03-11 22:54:43 +01:00 |
PKEuS
|
cd84d78e92
|
Ran AStyle, fixed VS2015 warning in symboldatabase.h
|
2015-03-11 20:26:53 +01:00 |
PKEuS
|
9bafa3bf25
|
Fixed false positive #6575
|
2015-03-11 20:25:27 +01:00 |
Alexander Mai
|
c8bee3e1a6
|
Merge branch 'master' of https://github.com/danmar/cppcheck
|
2015-03-11 18:59:56 +01:00 |
Alexander Mai
|
6bd7dd771d
|
Add some functions from <time.h> to posix.cfg (see #6577)
|
2015-03-11 18:59:34 +01:00 |
amai2012
|
ed097d4c4f
|
Merge pull request #540 from JakubMelka/ticket_695
Ticket #695: new style check : explicit declaration of ctor
|
2015-03-11 12:15:22 +01:00 |
Jakub Melka
|
e1e1dbfe97
|
Ticket #695: Fixed VS 2010 issue, switched to "style" severity, changed error messages and updated unit tests
|
2015-03-10 19:35:12 +01:00 |
Martin Ettl
|
0839ce5a96
|
posix.cfg: Removed duplicate utime() function introduced by 841a27c19d . Added more test cases for uninitvar for utime() and utimes().
|
2015-03-08 21:38:43 +01:00 |
amai2012
|
3d9c2b4d97
|
Merge pull request #542 from MegaManSec/master
Add utime function to posix.cfg
|
2015-03-08 19:55:41 +01:00 |
Jakub Melka
|
b7d92a4fc7
|
Fixed warnings of CppCheck's own code (caused by new check #695)
|
2015-03-08 18:18:09 +01:00 |
Daniel Marjamäki
|
780a530e0e
|
test/cfg/windows.cpp: Added test for #6571, Library::isNotLibraryFunction() should return true for methods.
|
2015-03-08 16:23:54 +01:00 |
Alexander Mai
|
34a61e0883
|
Additions to windows.cfg. Fix compiler warning in test/cfg/posix.c
|
2015-03-08 15:21:50 +01:00 |
Joshua Rogers
|
841a27c19d
|
Add utime function to posix.cfg
|
2015-03-09 00:43:25 +11:00 |
Alexander Mai
|
95411414c4
|
#6569 Add strcasestr function to gnu.cfg
|
2015-03-08 14:04:09 +01:00 |
Simon Martin
|
1d973b882d
|
Ticket #6567: Handle member functions in TemplateSimplifier::getTemplateNamePosition.
|
2015-03-07 21:52:12 +01:00 |
Jakub Melka
|
2af9212b16
|
Ticket #695: new style check : explicit declaration of ctor
|
2015-03-07 20:07:54 +01:00 |
Simon Martin
|
9c6a625f91
|
Ticket #6181: Normalize '>>' into '> >' when it's closing a C++11 template parameter list.
|
2015-03-07 11:06:04 +01:00 |
Daniel Marjamäki
|
f705cdce72
|
Fixed #6556 (Tokenizer::simplifyVarDecl: doesn't simplify template variables properly)
|
2015-03-06 17:30:20 +01:00 |
Alexander Mai
|
21ab4413aa
|
Fix compiler warnings
|
2015-03-05 20:49:42 +01:00 |