Ken-Patrick Lehrmann

Results 9 comments of Ken-Patrick Lehrmann

> > Actually this may be of interest > > yes. I'd rather not add a boost dependency. I thought so. ;-) stack_alloc looks promising indeed, I'll try to give...

Looking a bit more into this, it seems getTokenArgumentFunction is called many many times, hence the impact I saw from the cost of std::vector (in the call of getArguments in...

Done in https://github.com/danmar/cppcheck/pull/3435

> There are actually a lot of other places where we return vectors of size 1 or 2(such as `Analyzer::evaluate` or `Interval` member fields) which seems like they could benefit...

Hi, I'm having this same issue when including boost headers. For some reason, we ended up having all of our header in the same directory, so now cppcheck finds boost...

Using -include=... is be a good idea, thanks > Unless you have lots of files, this might be an option: [skip] We do, it might still be an option, thanks...

Ok. I might give it a try (and I'll probably die in the middle because of all the preprocessing stuff that I won't understand :p).

I've found something: Inside expandHashHash, (or expandArg ?), in some cases a '(' is appended to a token name, for instance strAB becomes for instance "BOOST_PP_IIF_I(" (there are many of...

I believe including #include or boost/config.hpp is enough (I have not really tested though /o\). Then there are other issues, in https://www.boost.org/doc/libs/1_52_0/boost/type_traits/detail/cv_traits_impl.hpp the preprocessing of ``` #if !(BOOST_WORKAROUND(__GNUC__,== 3) &&...