PKEuS
|
97fa9e9d1b
|
ValueFlow: Stop on inline assembly
|
2017-03-23 20:01:16 +01:00 |
PKEuS
|
9225bff31d
|
Added (back) support for enums to CheckCondition::checkIncorrectLogicOperator() (#7794)
|
2017-03-23 18:57:48 +01:00 |
PKEuS
|
996501a449
|
Fixed false positive #7953: Support type conversion operators returning pointers
|
2017-03-23 18:12:46 +01:00 |
Daniel Marjamäki
|
c280bcedb4
|
Merge pull request #880 from IOBYTE/master
Update symbol database with new auto type and variable information for assignment to auto.
|
2017-03-23 08:51:06 +01:00 |
Robert Reif
|
662bc6f846
|
Add variable or type information to auto and auto variable tokens. Changing the auto variable type requires rerunning the variable pointer pass to correct the symbol database for the new type.
|
2017-03-22 22:09:40 -04:00 |
Robert Reif
|
fda1f02dab
|
long double is a floating point type.
|
2017-03-22 19:11:40 -04:00 |
Daniel Marjamäki
|
865588950a
|
Preprocessor: quick fix for #7939
|
2017-03-22 10:53:21 +01:00 |
Daniel Marjamäki
|
d6b6f31fbd
|
Fixed #7956 (Add Q_ENUM define in qt.cfg)
|
2017-03-22 07:32:31 +01:00 |
Robert Reif
|
f099c6a110
|
Refactor symbol database value type support by making setValueTypeInTokenList and setValueType member functions of SymbolDatabase. Class variables are no longer passed around as parameters but accessed directly which simplifies the code. There should be no functional change.
|
2017-03-21 21:55:22 -04:00 |
orbitcowboy
|
9f66908971
|
Fixed #7955: False positive about invalid fseek argument.
|
2017-03-21 14:23:31 +01:00 |
orbitcowboy
|
a7f1188151
|
Astyle run.
|
2017-03-21 14:22:28 +01:00 |
Simon Martin
|
fb2b29dc7d
|
Update TemplateSimplifier::getTemplateNamePosition to handle out-of-line template methods.
Add an optional extended description…
|
2017-03-19 20:44:20 +01:00 |
orbitcowboy
|
6111b38ebb
|
std.cfg and windows.cfg: Improved support for freopen-functions.
|
2017-03-19 18:23:31 +01:00 |
Daniel Marjamäki
|
c18fe8262b
|
Fixed #7934 (Wrong AST for 'for (i=0;cond;({min(x,10);}))')
|
2017-03-19 07:26:11 +01:00 |
PKEuS
|
7c0aa4464c
|
Fixed travis build by replacing Token::Match by simpleMatch()
Added missing files to cppcheck.vcxproj.filters
|
2017-03-16 21:15:10 +01:00 |
PKEuS
|
8a3fb4dd6c
|
SymbolDatabase: Fixed return type token detection for template member functions (#7945)
|
2017-03-16 20:47:24 +01:00 |
PKEuS
|
ca3e3b3cdb
|
Fixed false positive multiCondition when & is used in both conditions (#7827)
|
2017-03-15 19:37:14 +01:00 |
PKEuS
|
c638180753
|
Fixed crash in clang test suite introduced in b27ba72fdd
|
2017-03-15 19:22:42 +01:00 |
PKEuS
|
816106560a
|
More conservative check for non-commutative operator+ in isSameExpression() (#7938)
|
2017-03-15 19:17:40 +01:00 |
PKEuS
|
bcba27fbb9
|
SymbolDatabase: Removed unnecessary bailout in function matching for pointers in function overload matching
|
2017-03-15 18:45:33 +01:00 |
PKEuS
|
b27ba72fdd
|
SymbolDatabase: Support function overload matching for member variables (#7932)
|
2017-03-15 18:37:22 +01:00 |
orbitcowboy
|
468fadff86
|
std.cfg: Cleanup wrong configuration.
|
2017-03-15 09:39:11 +01:00 |
orbitcowboy
|
9f124b295e
|
std.cfg: Improved support container functions.
|
2017-03-15 08:49:08 +01:00 |
PKEuS
|
1a7265cd7e
|
std.cfg: Added lots of container functions, string functions and three operands overload of std::hypot
|
2017-03-14 17:52:35 +01:00 |
PKEuS
|
92414b923a
|
Library: Support variadic functions which are not a formatstr-function
|
2017-03-14 17:41:34 +01:00 |
Daniel Marjamäki
|
263c3596d5
|
known conditions: dont warn about 0 or 1 conditions as those look intentional
|
2017-03-08 18:39:19 +01:00 |
PKEuS
|
0073a633b0
|
Refactorized test suite
|
2017-03-08 15:16:19 +01:00 |
PKEuS
|
a447d2c6a8
|
Refactorized testio.cpp
|
2017-03-08 14:24:14 +01:00 |
Daniel Marjamäki
|
8c707876ed
|
Tokenizer: Don't simplify '({..})' wrongly
|
2017-03-08 11:41:18 +01:00 |
Daniel Marjamäki
|
5d7fa590af
|
Don't check ignored function return value in ({..}). Ticket: #7934
|
2017-03-08 10:23:38 +01:00 |
orbitcowboy
|
e569d96169
|
windows.cfg: Added support for _tcsftime().
|
2017-03-08 08:53:05 +01:00 |
orbitcowboy
|
0bd46ec831
|
windows.cfg: Added support for _strftime_l() and _wcsftime_l().
|
2017-03-08 08:49:13 +01:00 |
PKEuS
|
00904ba32a
|
Fixed false negatives in CheckOther::checkPassByReference() when assignment operator is used.
|
2017-03-07 21:49:28 +01:00 |
PKEuS
|
3da1de7893
|
Do not exclude std::shared_ptr and std::unique_ptr from checkPassByReference() (#7834)
These two types are larger than one pointer. Hence, passing by reference is faster.
|
2017-03-07 21:18:08 +01:00 |
PKEuS
|
1c3f010935
|
Fixed false positive: Exclude STL shared pointers from checkPassByReference() (#7834)
|
2017-03-07 21:04:19 +01:00 |
orbitcowboy
|
c87e83575a
|
std.cfg: Added support for std::copy().
|
2017-03-07 10:54:44 +01:00 |
Matthias Krüger
|
65846efb6b
|
test/cfg/std.cpp fix 'make checkcfg', std::vector needs to have <vector> #included
|
2017-03-06 16:59:17 +01:00 |
orbitcowboy
|
428c376b61
|
wxwidgets.cfg: Added support for more wxString functions.
|
2017-03-06 16:52:55 +01:00 |
orbitcowboy
|
e3d879e43d
|
std.cfg: Improved support for some std::wstring functions.
|
2017-03-06 16:40:49 +01:00 |
orbitcowboy
|
bf68638771
|
std.cfg: Improved support for string to (int|double|...)-functions.
|
2017-03-06 16:36:14 +01:00 |
Daniel Marjamäki
|
302bf925df
|
Remove test/cfg/std.cpp test that fails
|
2017-03-06 12:39:08 +01:00 |
Daniel Marjamäki
|
d535f17489
|
testing std::string and std::vector configuration a little
|
2017-03-05 22:23:45 +01:00 |
Daniel Marjamäki
|
5ea9519586
|
UseRetVal: Fix FN for methods
|
2017-03-05 22:23:16 +01:00 |
Daniel Marjamäki
|
603171201a
|
added some more configuration for standard containers
|
2017-03-05 22:03:12 +01:00 |
Daniel Marjamäki
|
2daf7f5430
|
Merge pull request #874 from simartin/ticket_7912
Ticket #7912: Properly preprocess files with decreasing line numbers, due to #line directives
|
2017-03-05 20:33:53 +01:00 |
Daniel Marjamäki
|
34dd4935d9
|
updated STL configuration
|
2017-03-05 19:47:47 +01:00 |
Daniel Marjamäki
|
ddc73008a6
|
std.cfg: update configuration for STL containers
|
2017-03-05 18:31:03 +01:00 |
Daniel Marjamäki
|
e560ad1616
|
update std::string config
|
2017-03-05 18:19:49 +01:00 |
Simon Martin
|
43e4364675
|
Ticket #7912: Properly preprocess files with decreasing line numbers, due to #line directives.
|
2017-03-05 16:46:43 +01:00 |
Daniel Marjamäki
|
6c1096bf71
|
ValueType: First change to handle 'for (auto i : container)'
|
2017-03-05 15:40:29 +01:00 |