Incresed constness of several pointers in symboldatabase
Reduced code duplication in symboldatabase
CheckClass: made warnings about uninitialized members in default constructors inconclusive. Ticket: #4639
Fixed #4637 (false positive: (error) Uninitialized member variable (missing function inlining))
Fixed #4644: Don't assign varid to template parameter when 'typename' is used
#4645 implemented new check: (POSIX) argument of function usleep() too big.
removed wrong line of testcode (introduced by my last commit).
#4645 implemented correct range according manpage of usleep().
Fixed #4642 (False positive: Returning an address value in a function with integer return type is not portable. (not returning address))
Refactorizations:
- Fixed lots of cppcheck messages about functions that can be const or static
- Fixed possible nullpointer dereference message in symboldatabase.cpp
- Replaced tokAt(+-1) by next()/previous()
Don't use native separators for suppression matching
Implemented better fix for #4644
Refactorizations:
- Removed empty implementation of CheckUninitVar::runChecks()
- Avoided unnecessary string copying
Test case for #4644 (Tokenizer: Wrong varId after typename):
Added equivalent test with "class"
Symbol database: Fixed --debug printing. Ticket: #4650
Fixed #4594 (Analyzing errors about system headers not being found)
#1659 added TODO-testcases.
Fixed #4439 (False positive: Uninitialized variable (casting address))
Fixed #4594 (Analyzing errors about system headers not being found)
Fixed #4646 (false positive: (style, inconclusive) Technically the member function 'C<T>::operator+=' can be const.)