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 |
Daniel Marjamäki
|
2f26195b23
|
Fixed #7248 (crash in ValueType::str())
|
2016-01-01 15:13:50 +01:00 |
Lauri Nurmi
|
996c9244d8
|
Update copyright year to 2007-2016.
|
2016-01-01 15:34:45 +02:00 |
Daniel Marjamäki
|
e69e952c46
|
Fixed #7245 (ValueType: Wrong result type for 'sint << uint')
|
2015-12-31 20:18:35 +01:00 |
Daniel Marjamäki
|
fdcab8f1bb
|
ValueType: better handling of struct member
|
2015-12-30 11:36:46 +01:00 |
Daniel Marjamäki
|
c5c386ceb8
|
ValueType: Handle void pointers
|
2015-12-29 19:58:51 +01:00 |
Daniel Marjamäki
|
32455e8441
|
Fixed #7214 (ValueType: does not handle static_cast)
|
2015-12-26 15:20:17 +01:00 |
orbitcowboy
|
ad17a0d721
|
testsymboldatabase: Improved constness of local variable.
|
2015-12-15 13:29:58 +01:00 |
orbitcowboy
|
d93f2994d4
|
testsymboldatabase: Removed useless call of GetSymbolDatabase.
|
2015-12-15 13:11:20 +01:00 |
PKEuS
|
eb27d3b877
|
Refactorization: Moved condition out of loop and ran AStyle
|
2015-12-06 10:40:22 +01:00 |
Alexander Mai
|
98f2cd021e
|
#7199 SymbolDatabase::validate() should be run in debug mode and print debug messages. In turn correct some test examples with invalid code.
|
2015-12-06 08:14:04 +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 |
PKEuS
|
93c02ce826
|
Fixed compiler error introduced in previous commit and several MSVC warnings
|
2015-11-28 10:49:08 +01:00 |
Daniel Marjamäki
|
0f9d90d2be
|
Changed Copyrights. Removed my name.
|
2015-11-18 20:04:50 +01:00 |
Daniel Marjamäki
|
ca8b15cd6b
|
Fixed #7124 (int32_t etc are recognised as fundamental types, but std::int32_t etc are not)
|
2015-11-15 17:51:27 +01:00 |
PKEuS
|
fdb596fa05
|
Do not set "pure" flag if function is declared as "= default" (#7101)
|
2015-11-07 22:21:50 +01:00 |
PKEuS
|
eb2b0fa0d0
|
Fixed wrongly detected unconditional scope with C++11-style initialization in SymbolDatabase (#6581)
|
2015-11-06 10:16:44 +01:00 |
PKEuS
|
24882fb53a
|
Fixed VarId accidentially assigned to case labels.
|
2015-10-26 21:24:53 +01:00 |
PKEuS
|
dfdc0f6b99
|
Support range-based for-loop in SymbolDatabase
|
2015-10-26 19:20:42 +01:00 |
Daniel Marjamäki
|
ac9cb87e04
|
ValueType: Handle bit operations, sizeof better. Use ValueType in astIsFloat().
|
2015-10-11 12:20:40 +02:00 |
Daniel Marjamäki
|
5b082aa799
|
ValueType: struct member
|
2015-10-11 10:48:08 +02:00 |
Daniel Marjamäki
|
9738cc66eb
|
ValueType: function return type
|
2015-10-11 08:42:31 +02:00 |
Daniel Marjamäki
|
cf179f82b6
|
ValueType: Better handling of wide strings
|
2015-10-11 08:13:30 +02:00 |
Daniel Marjamäki
|
0849ad4707
|
ValueType: Better handling of const
|
2015-10-10 08:32:45 +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 |
PKEuS
|
856e4c414d
|
Refactorization: Reduced code duplication in testsymboldatabase.cpp
|
2015-10-08 12:53:56 +02:00 |
Daniel Marjamäki
|
2fd27ff729
|
ValueType: Test promotions
|
2015-10-07 19:50:33 +02:00 |
Daniel Marjamäki
|
604a9acb48
|
ValueType: Handling constness
|
2015-10-07 19:08:26 +02:00 |
PKEuS
|
3a5cef8a7e
|
Refactorization: Improved usage of Settings instances in test suite
|
2015-10-07 18:40:03 +02:00 |
Daniel Marjamäki
|
db31e22316
|
ValueType: Improved signedness
|
2015-10-07 18:10:48 +02:00 |
Daniel Marjamäki
|
b9036c2ca8
|
AST types: Fix for 'long long' handling
|
2015-10-05 19:20:42 +02:00 |
Daniel Marjamäki
|
f35c24d4af
|
SymbolDatabase: Better handling of valuetypes in AST
|
2015-10-04 23:27:58 +02:00 |
Daniel Marjamäki
|
9b253612ca
|
SymbolDatabase: Add type information in AST
|
2015-10-04 19:42:58 +02:00 |
Simon Martin
|
101cebbde1
|
Ticket #6957: Properly handle arrays of pointers in CheckClass::constructors.
|
2015-08-28 23:06:39 +02: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
|
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 |
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 |
Simon Martin
|
67eab0cd7c
|
Ticket #6620, #6685: Reserved keywords cannot be function names.
|
2015-05-23 11:29:58 +02:00 |
Alexander Mai
|
f0bc300198
|
#6510 False positive performance warning for std::list::size(). Fix this and other similar false positives. Refactoring of Variable::isStlType(), use fail-safe std::set instead of plain array. Run astyle
|
2015-05-17 20:02:41 +02: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 |
Alexander Mai
|
21ab4413aa
|
Fix compiler warnings
|
2015-03-05 20:49:42 +01:00 |
Robert Reif
|
130ffc5752
|
Fixed #6538 (Symboldatabase: improve isFunction)
|
2015-02-24 06:11:31 +01:00 |
Daniel Marjamäki
|
830d1eb3fd
|
Revert "Fixed #6538 (Symboldatabase: improve isFunction)"
This reverts commit d7ef89bbe6 .
There was crashes in a Travis job.
|
2015-02-23 08:07:19 +01:00 |
Robert Reif
|
d7ef89bbe6
|
Fixed #6538 (Symboldatabase: improve isFunction)
|
2015-02-23 06:49:50 +01:00 |