Oliver Stöneberg
Oliver Stöneberg
> Working on adding a python test as well to the other_test.py file, unless you would like it placed somewhere else. No, that is the current grab bag for random...
> > I suppressed errors for duplicate members by exact symbol name and the first pass with cppcheck showed them properly hidden. > > Right, suppressions can have symbols. I...
https://trac.cppcheck.net/ticket/8953
Given the results of the unit tests it is. The code duplication and additional `Token::Match()` are not. This is the most expensive call in the "core" (i.e. no ValueFlow, no...
I am not sure this is actually a false positive. From https://en.cppreference.com/w/c/variadic/va_end: ``` [...] if va_end is not called before a function that calls va_start or va_copy returns, the behavior...
If that function exits that should be of no concern but if thrown an exception that is probably a different story. I think this needs to be treated like an...
Mostly taken from #6756 and discovered by reviewing the code. Still needs to be profiled.
Not much in terms of performance which is not surprising since these were found by review and not by profiling.
Somehow behaves differently...
``` cppcheck: build/token.cpp:3128: const std::string &Token::funcname(const Library &) const: Assertion `*mImpl->mFuncName == library.getFunctionName(this)' failed. Internal error: cppcheck received signal SIGABRT - abort or assertion Callstack: #0 0x562da7e19d1c in Token::funcname[abi:cxx11](Library const&)...