[PATCH] D127277: [clang][analyzer] Fix StdLibraryFunctionsChecker 'mkdir' return value.

Balázs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 8 06:36:15 PDT 2022


steakhal accepted this revision.
steakhal added a comment.
This revision is now accepted and ready to land.

Note in the summary that this patch affects:

- `mkdir`, `mkdirat`
- `mknod`, `mknodat`

> The checker modeled these functions with a >= 0 return value on success which is incorrect.

Technically, it was correct previously. Now it's not only correct but also precise ;)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127277



More information about the cfe-commits mailing list