PKEuS
|
c2ccd7d9e4
|
Simplify _declspec like __declspec
|
2015-04-11 11:02:52 +02:00 |
Matthias Krüger
|
42f0955e3f
|
Move more setting checks out of loops and use const bools instead. Reorder a few related checks.
Follow up to eedcb6abcb .
|
2015-04-10 14:31:19 +02:00 |
Frank Zingsheim
|
84830638a2
|
Improved fix #6636: (False positive unreadVariable - scope analysis seems to fail to False positive unreadVariable)
|
2015-04-09 21:09:31 +02:00 |
Robert Reif
|
4ceb24630d
|
Fixed #6568: Scope for template class member function missing in symboldatabase
|
2015-04-09 21:01:47 +02:00 |
PKEuS
|
d5ad1def40
|
Removed two unused functions
|
2015-04-09 20:54:07 +02:00 |
PKEuS
|
4e5c5eb238
|
Fixed #5665: Recognize free() with more than one parameter
|
2015-04-09 20:50:19 +02:00 |
Frank Zingsheim
|
d52b031301
|
Fixed #6638: (varid for loop in for statement)
|
2015-04-09 19:58:12 +02:00 |
Frank Zingsheim
|
648ee95f31
|
Fixed #6636: (False positive unreadVariable - scope analysis seems to fail to False positive unreadVariable)
Bug was introduced by 1f5265c1bd
|
2015-04-08 20:30:41 +02:00 |
Daniel Marjamäki
|
d563bd73f4
|
Fixed #6583 (False positive uninitvar - exit() ignored?!)
|
2015-04-08 15:35:04 +02:00 |
Gustav Palmqvist
|
105de8e917
|
#220 uninitialized variable: using variable in ctor before it has been initialized. Implement new check usageBeforeInitialization
|
2015-04-07 22:01:13 +02:00 |
orbitcowboy
|
8596794ce7
|
MathLib:mod: Declared local variable as const. No functional change.
|
2015-04-07 17:21:28 +02:00 |
Matthias Krüger
|
eedcb6abcb
|
move setting flags checks out of for loops, make them const.
|
2015-04-07 07:23:28 +02:00 |
Frank Zingsheim
|
1f5265c1bd
|
Fixed #6253 ([False Positive] Variable not initialized in the constructor)
|
2015-04-06 19:47:21 +02:00 |
Alexander Mai
|
9876cf2312
|
#6626 crash: Token::astOperand2() const ( do while ). Fix two segmentation faults on invalid code.
|
2015-04-06 17:23:48 +02:00 |
Matthias Krüger
|
7fdbb91694
|
don't print warning message if --enable=warning is not specified.
message was of type:
(warning) Possible null pointer dereference: previous - otherwise it is redundant to check it against null.
|
2015-04-06 15:05:34 +02:00 |
Matthias Krüger
|
22d97fdbd6
|
don't print style message if --enable=style is not specified.
message was of type:
(style) Redundant checking of STL container element existence before removing it.
|
2015-04-06 14:26:15 +02:00 |
Matthias Krüger
|
988acf11b4
|
don't print warning message if --enable=warning is not given.
message was of type:
(warning) Passing value 0 to foo() leads to implementation-defined result.
|
2015-04-06 13:37:27 +02:00 |
Matthias Krüger
|
592177200a
|
don't print warning message if --enable=warning is not given.
message was of type:
(warning) Call of pure virtual function 'foo' in constructor.
|
2015-04-06 13:34:44 +02:00 |
Matthias Krüger
|
6ff9a52d8b
|
don't print style message if --enable=style is not given (#6627)
message was of type:
(style) Class 'foo' is unsafe, 'foo::bar' can leak by wrong usage.
|
2015-04-06 12:02:21 +02:00 |
Simon Martin
|
0f7f08644c
|
Show template instantiation and not definition location in template instantiation debug message.
|
2015-04-05 14:54:24 +02:00 |
Robert Reif
|
c02acea5bf
|
Fixed #6614 (false positive: (style) The class 'A' does not have a constructor.)
|
2015-04-04 11:33:25 +02:00 |
Daniel Marjamäki
|
aacd9b9f6b
|
Fixed #6586 (Tokenizer: '>>' is wrongly tokenized as '> >' - if (n1 < len>>1))
|
2015-04-03 20:25:49 +02:00 |
Dmitry-Me
|
ba423185b8
|
Omit uneeded checks
|
2015-04-02 10:26:19 +03:00 |
amai2012
|
788da37e05
|
Merge pull request #584 from Dmitry-Me/betterVariableName3
Formatting cleanup, better variable name
|
2015-04-02 09:20:31 +02:00 |
Dmitry-Me
|
7b69396223
|
Formatting cleanup, better variable name
|
2015-04-01 18:23:51 +03:00 |
Dmitry-Me
|
aa7d665e7a
|
Better variable name
|
2015-04-01 16:39:45 +03: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
|
4c3a7661c3
|
Merge pull request #565 from Dmitry-Me/cacheAndReuse
Cache and reuse value
|
2015-04-01 11:30:13 +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 |
Daniel Marjamäki
|
e3bff8ff07
|
astyle formatting
|
2015-03-29 21:05:18 +02:00 |
Dmitry-Me
|
7c402afeb7
|
Preprocessor: Reduce overhead from searching for fallthrough comments when not needed
|
2015-03-29 09:28:17 +02:00 |
Dmitry-Me
|
e36ff852cd
|
Don't call abort() in the middle of C++ code
|
2015-03-26 15:26:08 +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
|
9398fa810b
|
Avoid value truncation
|
2015-03-25 10:39:09 +03:00 |
PKEuS
|
be4e51f00b
|
Merge pull request #571 from Dmitry-Me/omitUnneededActions3
Omit unneeded actions
|
2015-03-24 19:25:22 +01:00 |
PKEuS
|
b9ff2fd922
|
Merge pull request #573 from Dmitry-Me/removeDuplicateCheck
Remove duplicate check
|
2015-03-24 19:24:14 +01:00 |
amai2012
|
035faa4b6b
|
Merge pull request #572 from Dmitry-Me/mergeOverlappingPatterns4
Merge overlapping patterns
|
2015-03-24 16:55:37 +01:00 |
Dmitry-Me
|
8a4033e13a
|
Omit unneeded actions
|
2015-03-24 16:01:59 +03:00 |
Dmitry-Me
|
c9cdba5865
|
Remove duplicate check
|
2015-03-24 15:58:03 +03:00 |
Dmitry-Me
|
4201279954
|
Merge overlapping patterns
|
2015-03-24 10:22:26 +03:00 |
Daniel Marjamäki
|
a3a5c74bbf
|
Revert "Remove bitwise-or abuse"
This reverts commit 7017b051fe .
|
2015-03-24 08:07:15 +01:00 |
PKEuS
|
ab97d8dd6f
|
Merge pull request #569 from Dmitry-Me/removeBitwiseOpAbuse
Remove bitwise-or abuse
|
2015-03-23 20:23: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 |
amai2012
|
bb9848d24a
|
Merge pull request #563 from Dmitry-Me/deconvoluteCheck
Make the check slightly less convoluted
|
2015-03-21 12:27:37 +01:00 |