[PATCH] D135247: [clang][analyzer] Add stream functions to StdLibraryFunctionsChecker.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 5 01:27:16 PDT 2022


balazske added a reviewer: martong.
balazske added a comment.
Herald added a subscriber: rnkovacs.

This is another approach to D132017 <https://reviews.llvm.org/D132017>. This eliminates redundant code from `StreamChecker` that can be done with `StdLibraryFunctionsChecker` too. Something to fix is to somehow mention the dependency of **apiModeling.StdCLibraryFunctions** and //ModelPOSIX=true// option. If `StreamChecker` is used without these dependencies the errno part of the modeling can be incorrect (errno is not changed by the `evalCall` in `StreamChecker`, it is expected to be updated in the other checker in `postCall`).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135247/new/

https://reviews.llvm.org/D135247



More information about the cfe-commits mailing list