Szelethus added a comment. I suppose the counter is outdated, similarly to D104925#2850420 <https://reviews.llvm.org/D104925#2850420>?
================ Comment at: clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:101-109 /// Indicate if the file has an "indeterminate file position indicator". /// This can be set at a failing read or write or seek operation. /// If it is set no more read or write is allowed. /// This value is not dependent on the stream error flags: /// The error flag may be cleared with `clearerr` but the file position /// remains still indeterminate. /// This value applies to all error states in ErrorState except FEOF. ---------------- Shouldn't this be all you need to retrieve the fact that the streams position is indeterminate? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D105003/new/ https://reviews.llvm.org/D105003 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits