[PATCH] D75045: [analyzer] Improved check of `fgetc` in StreamChecker.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 18 21:44:28 PDT 2020


balazske planned changes to this revision.
balazske added a comment.
Herald added subscribers: ASDenysPetrov, whisperity.

Something like this can be added to StreamChecker but it has changed in many places so a new review would be needed. The main problem is with this `fgetc` check is that it would be good to check the standard stream version `getc` too, but that is hard to implement because global nature of the standard streams (`stdin`).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75045



More information about the cfe-commits mailing list