Daniel Marjamäki
|
58e28cb00e
|
ValueType: Better handling of unsigned unknown types
|
2016-01-05 19:47:11 +01:00 |
Daniel Marjamäki
|
1db9cf4d09
|
SymbolDatabase: Add '#include <cctype>' for std::isalpha
|
2016-01-04 14:20:07 +01:00 |
Daniel Marjamäki
|
8dccbfefcf
|
ValueType: handle lowercase number suffix, for instance '0ll'
|
2016-01-03 13:34:47 +01:00 |
Daniel Marjamäki
|
4ff7fa3f3b
|
SymbolDatabase,Tokenizer: Refactor handling of noexcept
|
2016-01-03 08:36:00 +01:00 |
Daniel Marjamäki
|
be8fc0f89f
|
SymbolDatabase: Better handling of default and delete when reusing Tokenizer::isFunctionHead()
|
2016-01-03 00:01:29 +01:00 |
Daniel Marjamäki
|
66e047ee7d
|
Refactoring SymbolDatabase. Reuse Tokenizer::isFunctionHead().
|
2016-01-02 23:49:06 +01:00 |
Daniel Marjamäki
|
746d024e3d
|
SymbolDatabase: Fix Token::Match pattern
|
2016-01-02 20:00:18 +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
|
416861b530
|
ValueType: only use default signedness for char/short/int/long/longlong
|
2016-01-01 20:03:31 +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 |
PKEuS
|
a6b719eb10
|
Refactorization: Fixed true positive when self-checking cppcheck
|
2015-12-18 18:13:13 +01:00 |
Dmitry-Me
|
06ff877415
|
Typo in variable name
|
2015-12-18 15:46:12 +03:00 |
Dmitry-Me
|
166e2a2cb8
|
Extract duplicate code
|
2015-12-18 10:24:02 +03:00 |
Dmitry-Me
|
ecc2e00a38
|
Don't proceed to outer scope once there's a match in this scope
|
2015-12-17 17:31:22 +03:00 |
Dmitry-Me
|
6f996142dc
|
Loop variable wasn't really used
|
2015-12-17 12:54:05 +03:00 |
Daniel Marjamäki
|
0cc003830a
|
Revert "Fix Compiler warnings."
This reverts commit cbb7c8b854 .
|
2015-12-13 19:58:27 +01:00 |
Albert ARIBAUD (3ADEV)
|
b8dd71c577
|
Factorize toxml() into a single member function
lib/symboldatabase.cpp and lib/tokenize.cpp both
define a static toxml() function. Make it a single
static ErrorLogger::toxml() member function.
|
2015-12-07 18:21:01 +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 |
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 |
PKEuS
|
32e2fb2f78
|
Refactorization: Prefer Token::simpleMatch over Token::Match also for non-const patterns.
|
2015-12-03 13:04:55 +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 |
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 |
Daniel Marjamäki
|
ad0d23036c
|
Fixed some cppcheck warnings about methods that can be static/const
|
2015-11-14 18:43:07 +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
|
dfdc0f6b99
|
Support range-based for-loop in SymbolDatabase
|
2015-10-26 19:20:42 +01:00 |
Daniel Marjamäki
|
0aad8af9ae
|
avoid fix for noisy signedness warning
|
2015-10-11 12:22:37 +02: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 |
Daniel Marjamäki
|
be72b7413a
|
ValueType: Handling of originalTypeName
|
2015-10-07 20:24:17 +02:00 |
Daniel Marjamäki
|
c461b58421
|
astyle formatting
[ci skip]
|
2015-10-07 19:50:50 +02:00 |
Daniel Marjamäki
|
604a9acb48
|
ValueType: Handling constness
|
2015-10-07 19:08:26 +02:00 |
Daniel Marjamäki
|
db31e22316
|
ValueType: Improved signedness
|
2015-10-07 18:10:48 +02:00 |
PKEuS
|
b634a76fcb
|
Added CPPCHECKLIB to two clases and reverted 30a942af0b
|
2015-10-07 13:38:34 +02:00 |
Daniel Marjamäki
|
b9036c2ca8
|
AST types: Fix for 'long long' handling
|
2015-10-05 19:20:42 +02:00 |