Robert Reif
|
73e1378af8
|
Fixed #7661 (False positive: Function parameter 'e' should be passed by reference.)
|
2016-08-13 21:25:57 +02:00 |
Robert Reif
|
55b3f0bf38
|
Fixed #752 (SymbolDatabase: Does not match function if redundant keywords mismatch (C++))
|
2016-08-04 09:06:32 +02:00 |
Robert Reif
|
891e21b478
|
Fixed #7458 (SymbolDatabase: Wrong overloaded function is picked)
|
2016-08-02 08:58:11 +02:00 |
Daniel Marjamäki
|
09b6568ea2
|
Fixed #7646 (podtypes do not get proper valuetype)
|
2016-07-31 19:47:34 +02:00 |
Daniel Marjamäki
|
0ddeac0429
|
refactor (use ast) and improve CheckOther::checkRedundantAssignment (warn about global variables unless they are volatile, handle arrays in lhs better)
|
2016-07-18 12:43:23 +02:00 |
PKEuS
|
801fd8f96a
|
Support trailing return types (C++11)
|
2016-07-17 15:47:50 +02:00 |
PKEuS
|
44a19b527e
|
Use ValueFlow and SymbolDatabase to detect buffer overflows with new and malloc, improving support for enums (#7576)
|
2016-07-08 20:53:08 +02:00 |
Daniel Marjamäki
|
54be403f64
|
Fixed #7026 (Cppcheck does not recognizes the use of a variabile inside lambda function)
|
2016-05-26 18:07:56 +02:00 |
Daniel Marjamäki
|
38741868b5
|
Fixed #3989 (false positive: memory leak (inline function))
|
2016-05-26 17:42:27 +02:00 |
Daniel Marjamäki
|
7591a57587
|
Removed redundant valuetype debug output
|
2016-05-14 20:11:57 +02:00 |
PKEuS
|
0bf85f9aa5
|
ValueType: Support integers defined in libraries (#7394)
|
2016-05-04 15:39:56 +02:00 |
Daniel Marjamäki
|
dc2a92263a
|
Fixed #7426 (RFC: time to replace simplifyEnum?)
|
2016-04-22 06:02:54 +02:00 |
Daniel Marjamäki
|
d964825c9f
|
ValueType: Add debug output that is shown when --verbose is used
|
2016-02-15 16:18:24 +01:00 |
Alexander Mai
|
d45f5c94cb
|
Add (disabled) function in SymbolDatabase to check variable list (e.g. find variables w/o scope). Fix some doxygen warnings.
|
2016-02-03 17:08:46 +01:00 |
PKEuS
|
d19b5031fa
|
Refactorization: Removed unused function.
|
2016-02-02 11:46:42 +01:00 |
Daniel Marjamäki
|
0e89620212
|
Fixed #4698 (False positive: Uninitialized member variable warning with confusing namespaces)
|
2016-01-30 14:04:48 +01:00 |
PKEuS
|
8f493612e6
|
Refactorization: Removed unused function declaration from Tokenizer and fixed prototype of SymbolDatabase::cppcheckError
|
2016-01-09 09:34:31 +01:00 |
PKEuS
|
37fefe3479
|
Removed non-standard code annotations with __attribute__
|
2016-01-09 09:33:56 +01:00 |
Daniel Marjamäki
|
a014920280
|
Fixed #7260 (ValueType: in C++ the result of 'sint >> unknowntype' has unknown type)
|
2016-01-07 10:46:19 +01:00 |
Robert Reif
|
db6dfa2d22
|
Fixed #7195 (crash: valueFlowSwitchVariable())
|
2016-01-02 18:53:51 +01:00 |
Daniel Marjamäki
|
95009a4630
|
Merge pull request #745 from lanurmi/2016_ad
Update copyright year to 2007-2016.
|
2016-01-01 22:57:19 +01:00 |
Daniel Marjamäki
|
b457ceef0e
|
Settings: Added defaultSign
|
2016-01-01 17:33:59 +01:00 |
Lauri Nurmi
|
996c9244d8
|
Update copyright year to 2007-2016.
|
2016-01-01 15:34:45 +02:00 |
Daniel Marjamäki
|
c5c386ceb8
|
ValueType: Handle void pointers
|
2015-12-29 19:58:51 +01:00 |
Alexander Mai
|
ba0859e838
|
#6981 crash in checkvaarg.cpp (with possible fix). Avoid segfault. Add SymbolDatabase::validate() to allow validating smyboldatabase
|
2015-12-05 20:55:26 +01:00 |
Alexander Mai
|
53dbcb956f
|
Small refactoring: use a single complete set for reserved for each C/C++. Replace NULL by nullptr
|
2015-11-29 13:23:13 +01:00 |
PKEuS
|
e8522c7883
|
Small refactorizations:
- #include cleanup
- Use std::array instead of std::vector
- Do not create a stringstream to concatenate 4 strings
- Use std::cout instead of printf
|
2015-11-29 10:56:44 +01:00 |
Daniel Marjamäki
|
0f9d90d2be
|
Changed Copyrights. Removed my name.
|
2015-11-18 20:04:50 +01:00 |
Daniel Marjamäki
|
ad0d23036c
|
Fixed some cppcheck warnings about methods that can be static/const
|
2015-11-14 18:43:07 +01:00 |
Daniel Marjamäki
|
5b082aa799
|
ValueType: struct member
|
2015-10-11 10:48:08 +02:00 |
Daniel Marjamäki
|
a500f6f703
|
Improved handling of 'long double' and address-of in ValueType. Removed Tokenizer::simplifyFloatCasts() to handle float casts better.
|
2015-10-08 19:50:10 +02:00 |
Daniel Marjamäki
|
be72b7413a
|
ValueType: Handling of originalTypeName
|
2015-10-07 20:24:17 +02:00 |
Daniel Marjamäki
|
604a9acb48
|
ValueType: Handling constness
|
2015-10-07 19:08:26 +02:00 |
PKEuS
|
b634a76fcb
|
Added CPPCHECKLIB to two clases and reverted 30a942af0b
|
2015-10-07 13:38:34 +02:00 |
amai2012
|
88b3d90505
|
#7023 segmentation fault (invalid code) in astIsIntegral. Avoid crash, unfortunately there is no syntax error yet detected.
|
2015-10-06 11:21:31 +02:00 |
Daniel Marjamäki
|
30a942af0b
|
VS: Attempt to fix build problem with VS
|
2015-10-04 22:58:00 +02:00 |
Daniel Marjamäki
|
399cd0c07b
|
SymbolDatabase: Refactoring AST type information
|
2015-10-04 20:32:16 +02:00 |
Daniel Marjamäki
|
9b253612ca
|
SymbolDatabase: Add type information in AST
|
2015-10-04 19:42:58 +02:00 |
Dmitry-Me
|
e377a2e9b2
|
Fix spelling
|
2015-09-04 16:12:40 +03:00 |
Simon Martin
|
101cebbde1
|
Ticket #6957: Properly handle arrays of pointers in CheckClass::constructors.
|
2015-08-28 23:06:39 +02:00 |
Dmitry-Me
|
c760ccee13
|
Use const_cast to add const, better variable name
|
2015-08-27 17:14:33 +03:00 |
Simon Martin
|
6fb19b02d0
|
Properly differentiate arrays of pointers and pointers to arrays.
|
2015-08-25 21:19:19 +02:00 |
PKEuS
|
4d80df2f4a
|
Added pointer to Type to Token (similar to Token::Variable() and Token::function()):
- Accessible via Token::type()
- Renamed former Token::type() to Token::tokType()
- Removed SymbolDatabase::isClassOrStruct()
|
2015-08-15 11:19:21 +02:00 |
Alexander Mai
|
8b433fa053
|
Add regression test for #6299. Fix clang compiler warning due to doxygen comment
|
2015-08-14 18:27:03 +02:00 |
Alexander Mai
|
6e03e7dca2
|
Remove some code checking for invalid class hierarchy which got obsolete since 480a5672b0 . Run astyle
|
2015-07-01 07:50:13 +02:00 |
amai2012
|
480a5672b0
|
#6298 stack overflow in Scope::findFunctionInBase (endless recursion). Fix handling of circular class hierarchy
|
2015-07-01 00:04:01 +02:00 |
Alexander Mai
|
b3c7a3f798
|
Fix more (potential) multi-threading issues
|
2015-06-20 22:26:51 +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
|
7c23f4e611
|
Merge pull request #596 from simartin/ticket_6620-6685
Ticket #6620, #6685: Reserved keywords cannot be function names.
|
2015-05-23 13:47:07 +02:00 |
Alexander Mai
|
e8d84bc6b4
|
#6700 const vs non-const inside assert() statement. Function matching in symboldatabase did not honor const'ness of a class instance variable
|
2015-05-23 11:56:11 +02:00 |