[clang] [clang][analyzer] Support 'tello' and 'fseeko' in the StreamChecker (PR #77580)

Balázs Kéri via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 10 09:10:50 PST 2024


================
@@ -268,8 +268,12 @@ class StreamChecker : public Checker<check::PreCall, eval::Call,
         std::bind(&StreamChecker::evalUngetc, _1, _2, _3, _4), 1}},
       {{{"fseek"}, 3},
----------------
balazske wrote:

```suggestion
      {{{"fseek", "fseeko"}, 3},
```
The same is applicable to `fopen` and `fdopen` in `CallDescriptionMap`.

https://github.com/llvm/llvm-project/pull/77580


More information about the cfe-commits mailing list