NoQ added a comment. But why?
================ Comment at: clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:161 .castAs<DefinedSVal>(); state = state->BindExpr(CE, C.getLocationContext(), RetVal); ---------------- You're not allowed to do this in `checkPostCall` because other post-call checkers may have already read the return value. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69662/new/ https://reviews.llvm.org/D69662 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits