Oliver Stöneberg

Results 1142 comments of Oliver Stöneberg

The crash is fixed because the test fixtures are no longer global objects which depend on the initialization order.

> We could also make the cache in simplecpp optional. > > Nevertheless these caches are completely horrible and need to be implemented in a different way. I filed https://github.com/danmar/simplecpp/issues/361...

``` $ gcc -UDEF_1 -save-temps input.cpp | cat a-input.ii # 0 "input.cpp" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1...

From https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Preprocessor-Options.html: ``` -U name Cancel any previous definition of name, either built in or provided with a -D option. ``` So built-in defines needs to be handled differently. Might...

> Built-in do not need to be handled differently in my opinion. We do. simplecpp and Cppcheck both provide different built-in defines which are currently not treated as such. With...

clang-tidy-22 is currently no longer reporting this because the handling of system headers changed.

Causes a minor performance regression with GCC: without system includes - `73,076,895` -> `73,307,187` with system include - `1,213,199,374` -> `1,215,774,819`

Also needs a CI step to make sure that it compiles.