Oliver Stöneberg

Results 331 issues of Oliver Stöneberg

Another piece of preparation before applying `misc-const-correctness` fixes.

This shows that there's only two calls which actually require the `const_cast` so there's no need to do it arbitrary all over the code (there was even at least one...

A ticket about this has been filed upstream: https://github.com/llvm/llvm-project/issues/56996.

With these we now have target parity between make and CMake. There's still some compiler/platform-specific code which needs to be added to CMake for full parity.

Related issues: ~https://trac.cppcheck.net/ticket/10105~ ~https://trac.cppcheck.net/ticket/11182~ ~https://trac.cppcheck.net/ticket/11183~ ~https://trac.cppcheck.net/ticket/11523~ ~https://trac.cppcheck.net/ticket/11543~ https://trac.cppcheck.net/ticket/11555 ~https://trac.cppcheck.net/ticket/10946~ https://trac.cppcheck.net/ticket/11313 ~https://trac.cppcheck.net/ticket/13105~ ~https://trac.cppcheck.net/ticket/13125~

An idea would be to provide a daca result file as input file. Depending on the data it could determine what to do without interaction.

This avoids the expensive C++-specific `Library::detect*()` calls in `parsedecl()` for C code. See https://trac.cppcheck.net/ticket/10663 and https://trac.cppcheck.net/ticket/11104 for more details of the underlying issues. There's possibly more parsing which could be...