Functions fsetpos, fgetpos, ftell, rewind are added.
Function fileno is handled by StdLibraryFunctionsChecker too,
tests are added for it but eval function is not needed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/StaticAnalyzer/Checkers/ErrnoModeling.h | ||
---|---|---|
110 | Why do you consider important the Std part in the naming? | |
clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp | ||
880 | Could you please elaborate in the comment why don't we have to use errno_modeling::setErrnoForStdSuccess here? | |
clang/test/Analysis/stream-error.c | ||
246 | This might be TRUE as well isn't it? Because only the "successful call to the fseek() function clears the end-of-file indicator". I'd expect this to be TRUE only in the block of if (rc). |
Why do you consider important the Std part in the naming?