[PATCH] D125400: [clang][Analyzer] Add errno state to standard functions modeling.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 9 06:24:37 PDT 2022


balazske marked 2 inline comments as done.
balazske added inline comments.


================
Comment at: clang/test/Analysis/errno-stdlibraryfunctions-notes.c:11
+
+int access(const char *path, int amode);
+
----------------
martong wrote:
> Do you plan to extend the test file for other standard functions as well?
It was not planned. I am not sure if it is better to have some more functions but not all. If there is a test for all of the functions it should be generated somehow (test every function for success and failure case, arguments passed to the functions are probably not easy to generate).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125400



More information about the cfe-commits mailing list