[PATCH] D120310: [clang][analyzer] Add modeling of 'errno' (work-in-progress).
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 24 07:46:02 PST 2022
balazske marked 4 inline comments as done.
balazske added inline comments.
================
Comment at: clang/test/Analysis/global-region-invalidation.c:6
// Note, we do need to include headers here, since the analyzer checks if the function declaration is located in a system header.
+#include "Inputs/errno_var.h"
#include "Inputs/system-header-simulator.h"
----------------
steakhal wrote:
> If you were `eval::Calling` the `errno_location` functions, and used the corresponding header, would the tests pass?
It is now executed wit both versions.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120310/new/
https://reviews.llvm.org/D120310
More information about the cfe-commits
mailing list