amai2012
|
b81e82d462
|
#6733 segmentation fault (invalid code) in Tokenizer::simplifyAddBracesPair
Avoid access to NULL-token by throwing an InternalError
|
2015-06-01 13:27:32 +02:00 |
Frank Zingsheim
|
6857dbe864
|
#6729 Simplification reference to constants.
|
2015-06-01 10:00:03 +02:00 |
orbitcowboy
|
2275d63f99
|
Merge pull request #608 from simartin/ticket_6588
Ticket #6588: Properly detect whether the condition in a ternary operator is constant on C input
|
2015-05-31 23:29:46 +02:00 |
Simon Martin
|
519bd7007a
|
Ticket #6588: Properly detect whether the condition in a ternary operator is constant on C input.
|
2015-05-31 22:40:13 +02:00 |
amai2012
|
bc2c172a1f
|
Merge pull request #607 from simartin/simplify_known_var_todo
Simplify known variables when they are at the end of a statement.
|
2015-05-31 06:50:55 +02:00 |
Simon Martin
|
85b47636dc
|
Simplify known variableswhen they are at the end of a statement.
|
2015-05-30 23:34:50 +02:00 |
orbitcowboy
|
5fa2fe0b21
|
Merge pull request #606 from simartin/ticket_6588
Ticket #6588: Added test cases since the initial issue is fixed
|
2015-05-30 23:24:01 +02:00 |
Simon Martin
|
764df4dd56
|
Ticket #6588: Added test cases since the initial issue is fixed by some past commit.
|
2015-05-30 22:57:54 +02:00 |
orbitcowboy
|
9c6ce2b06b
|
Merge pull request #605 from simartin/no_space_in_decl
Removed useless space in the declaration for Tokenizer::Simplifyfunctionpointers
|
2015-05-30 21:22:14 +02:00 |
orbitcowboy
|
95dbcb7546
|
Merge pull request #604 from simartin/ticket_6713
Ticket #6713: Properly detect ternary operator in valueFlowForward.
|
2015-05-30 21:16:11 +02:00 |
Simon Martin
|
c73876b3a8
|
Removed useless space in the declaration for Tokenizer::Simplifyfunctionpointers.
|
2015-05-30 21:00:41 +02:00 |
Simon Martin
|
98e6dca4f2
|
Ticket #6713: Properly detect ternary operator in valueFlowForward.
|
2015-05-30 20:55:36 +02:00 |
Alexander Mai
|
ddc80246c2
|
#6724 segmentation fault (invalid code) Token::isAttributeConstructor. Local fix to avoid access to NULL-token
|
2015-05-30 19:15:53 +02:00 |
Alexander Mai
|
4050d56169
|
#6722 segmentation fault (invalid code) in Tokenizer::simplifyTypedef
|
2015-05-29 21:44:00 +02:00 |
Martin Ettl
|
d5d6d7fbb8
|
Running astyle, no functional changes.
|
2015-05-29 20:20:05 +02:00 |
amai2012
|
5b347c537b
|
Fix #6720 and #6721 (Crashes on garbage code)
Local fixes to avoid access to NULL-token
|
2015-05-29 19:30:55 +02:00 |
Martin Ettl
|
9236ea4a20
|
Running astyle, no functional changes.
|
2015-05-29 19:15:41 +02:00 |
amai2012
|
e41beb4f8d
|
Fix #6718 and #6719 (crashes on garbage code).
Local fixes avoiding access to NULL-token. Also minor correction to
TemplateSimplifier::hasComplicatedSyntaxErrorsInTemplates()
|
2015-05-29 18:34:00 +02:00 |
Alexander Mai
|
098391ee32
|
#6715 segmentation fault (invalid code) in TemplateSimplifier::hasComplicatedSyntaxErrorsInTemplates. Harden TemplateSimplifier::hasComplicatedSyntaxErrorsInTemplates()
|
2015-05-28 21:38:20 +02:00 |
Alexander Mai
|
8adff0a31b
|
#6712 segmentation fault (invalid code) in CheckExceptionSafety::checkRethrowCopy. Local fix to avoid accessing NULL-token
|
2015-05-28 21:12:02 +02:00 |
Alexander Mai
|
133d8f9a91
|
#6706 segmentation fault (invalid code) in tokenlist::compilePrecedence3. Local fix to prevent acess to NULL-token
|
2015-05-27 21:39:31 +02:00 |
Alexander Mai
|
94d376e228
|
Merge branch 'master' of https://github.com/danmar/cppcheck
|
2015-05-27 21:13:18 +02:00 |
Alexander Mai
|
e498f8493e
|
#6705 segmentation fault (invalid code) in CheckVaarg::va_list_usage. Local fix i nchecker preventing SIGSEGV on NULL-token
|
2015-05-27 21:12:33 +02:00 |
Daniel Marjamäki
|
22c608dd2c
|
Reverted fix for #6710. It didnt work as I wanted.
|
2015-05-27 20:50:03 +02:00 |
Daniel Marjamäki
|
0836bf3d33
|
astyle formatting
|
2015-05-27 20:26:26 +02:00 |
Daniel Marjamäki
|
152ea116fa
|
Fixed #6710 (valueFlowBeforeCondition: function call in loop seems to cause FN)
|
2015-05-27 20:25:58 +02:00 |
amai2012
|
0bd7cbfbeb
|
Merge pull request #603 from simartin/ticket_6708
Ticket #6708: Check that a function name is not a reserved keyword in SymbolDatabase::isFunction instead of later.
|
2015-05-26 16:48:17 +02:00 |
amai2012
|
2bd49dcbde
|
Merge pull request #602 from simartin/templateParameters_tests
Added unit tests for TemplateSimplifier::templateParameters involving variadic templates
|
2015-05-26 07:10:10 +02:00 |
Simon Martin
|
50e5595845
|
Ticket #6708: Check that a function name is not a reserved keyword in SymbolDatabase::isFunction instead of later.
|
2015-05-26 00:28:08 +02:00 |
amai2012
|
729b240d9c
|
Refactoring (compiler warnings and a typo)
|
2015-05-25 23:15:59 +02:00 |
Simon Martin
|
dc293ff483
|
Added unit tests for TemplateSimplifier::templateParameters involving variadic templates.
|
2015-05-25 23:13:01 +02:00 |
Alexander Mai
|
d4550c763d
|
Exit code shall indicate that an internal error (syntax error) has been found. Add some const. Run astyle
|
2015-05-25 21:15:55 +02:00 |
amai2012
|
f1c4cc6d55
|
Merge pull request #598 from simartin/useless_str_check
Removed unnecessary string comparison in Tokenizer::simplifyKnownVariablesSimplify
|
2015-05-25 19:13:33 +02:00 |
amai2012
|
a029ba39f6
|
Merge pull request #601 from Blubbz0r/#2913-Open-Containing-Folder
Added context menu item Open containing folder (Ticket #2913)
|
2015-05-25 19:12:08 +02:00 |
Daniel Marjamäki
|
a8d7897471
|
Fixed travis failure
|
2015-05-25 18:19:40 +02:00 |
Daniel Marjamäki
|
a9db06c641
|
longCast: Only warn when original name is 'long'. avoids some FPs when typedef types are used.
|
2015-05-25 18:06:20 +02:00 |
Blubbz0r
|
15c0be9eb4
|
Added missing include
|
2015-05-25 16:25:58 +02:00 |
Blubbz0r
|
aa66cf5eda
|
Added context menu item Open containing folder
Note: This also fixes the Copy full path context menu item (was only
putting file name into clipboard)
|
2015-05-25 15:33:46 +02:00 |
Daniel Marjamäki
|
c0b33d2fef
|
Fixed #6707 (new check: possible truncation when assigning int result to long)
|
2015-05-25 10:02:17 +02:00 |
Alexander Mai
|
e28e9be82f
|
Add TODO testcase for #5738. Refactoring: add some const
|
2015-05-25 08:20:14 +02:00 |
Daniel Marjamäki
|
eb0db322eb
|
Fixed #6560 (ValueFlow: handling ternary operator better in valueFlowSubFunction)
|
2015-05-24 17:02:00 +02:00 |
Simon Martin
|
c58fab07d6
|
Removed unnecessary string comparison in Tokenizer::simplifyKnownVariablesSimplify.
|
2015-05-24 13:13:46 +02:00 |
Alexander Mai
|
7f15873759
|
Refactoring in tokenize.cpp: Fix cppcheck warning, add some const, fix typo from previous refactoring
|
2015-05-24 11:43:46 +02:00 |
Martin Ettl
|
227a73eb45
|
Merge branch 'master' of https://github.com/danmar/cppcheck
|
2015-05-24 10:04:04 +02:00 |
Martin Ettl
|
047d19220a
|
#6608: Added a test case.
|
2015-05-24 10:03:50 +02:00 |
Alexander Mai
|
7002f9df35
|
Merge branch 'master' of https://github.com/danmar/cppcheck
|
2015-05-24 09:43:52 +02:00 |
Alexander Mai
|
394160184a
|
Refactoring: Replace complex if/else cascade by search in a container. Remove redundant plain arrays (in favour of container)
|
2015-05-24 09:43:17 +02:00 |
orbitcowboy
|
dfb015a7e3
|
Merge pull request #600 from simartin/ticket_6704
Ticket #6704: Tighten pattern skipping base class declarations and fix crash upon garbage code
|
2015-05-24 09:27:45 +02:00 |
Simon Martin
|
26f244e638
|
Ticket #6704: Tighten pattern skipping base class declarations and fix crash upon garbage code.
|
2015-05-24 08:16:34 +02:00 |
orbitcowboy
|
af8d258d11
|
Merge pull request #599 from simartin/ticket_6703
Ticket #6703: Rewrite pattern in SymbolDatabase to avoid crash upon garbage code
|
2015-05-24 00:14:16 +02:00 |