[PATCH] D75682: [Analyzer][StreamChecker] Introduction of stream error handling.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 17 10:11:11 PDT 2020


balazske added a comment.
Herald added a subscriber: DenisDvlp.

In D75682#1926732 <https://reviews.llvm.org/D75682#1926732>, @Szelethus wrote:

> How about untracked streams? What if we call `feof()` on a stream we got from a parameter, wouldn't that suggest that the stream is probably non-null and could either be EOF or non-EOF?


Currently the operation is completely ignored on untracked stream. Could start with a non-null stream and every error case is possible.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75682





More information about the cfe-commits mailing list