aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorBalázs Kéri <1.int32@gmail.com>2022-06-23 10:24:45 +0200
committerBalázs Kéri <1.int32@gmail.com>2022-06-23 11:27:26 +0200
commit7dc81c624433627e6811801b5a7e53d77c216616 (patch)
tree89673b5b38acece17225bd17a8827723e13c2b73 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent20e6ada2fb94a97e677c5493dd6c1886d416c91a (diff)
downloadllvm-7dc81c624433627e6811801b5a7e53d77c216616.zip
llvm-7dc81c624433627e6811801b5a7e53d77c216616.tar.gz
llvm-7dc81c624433627e6811801b5a7e53d77c216616.tar.bz2
[clang][analyzer] Fix StdLibraryFunctionsChecker 'mkdir' return value.
The functions 'mkdir', 'mknod', 'mkdirat', 'mknodat' return 0 on success and -1 on failure. The checker modeled these functions with a >= 0 return value on success which is changed to 0 only. This fix makes ErrnoChecker work better for these functions. Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D127277
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions