Oliver Stöneberg

Results 331 issues of Oliver Stöneberg

This introduces `Token::exactMatch()` to use when the pattern to match is just a single one replacing calls like `Token::simpleMatch(tok, "this")`. Using GCC 11 it is unfortunately a bit slower going...

The `unmatchedSuppression` messages might be a bug where the regular expression appears to be incorrectly validated. I saw this with local runs but didn't look into it yet. There was...

probably needs some unit tests as well

```cpp #include #include struct A { std::string s; }; void f1() { std::vector v; v.push_back(A()); // warning } void f2() { std::vector v; v.push_back(A{}); // no warning } void f3()...

good first issue
clang-tidy

Reading the file via `std::istream` includes a considerable overhead caused by `std::istream::sentry` and others. Using C I/O instead reduces the "total Ir" usage by about 10%. Testing with `-q -Ilib/...

The only interesting suppress warning is currently `clang-analyzer-core.NullDereference` since it depends on very complex value flow, might be a false positive and I didn't have the time to review it.