martong marked 2 inline comments as done. martong added inline comments.
================ Comment at: clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:2076 Summary(NoEvalCall) + .Case({ReturnValueCondition(WithinRange, Range(-1, 0))}) .ArgConstraint(NotNull(ArgNo(3))) ---------------- steakhal wrote: > BTW, this is quite frequently repeated. > Do you think worth hoisting such a return value constraint? > > I'm thinking of something like `ReturnsZeroOrMinusOne`. Good idea! Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D92474/new/ https://reviews.llvm.org/D92474 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits