diff options
| author | Dmitri Gribenko <gribozavr@gmail.com> | 2019-07-03 09:20:18 +0000 |
|---|---|---|
| committer | Dmitri Gribenko <gribozavr@gmail.com> | 2019-07-03 09:20:18 +0000 |
| commit | e6020f5c62ea5f99133fe003aedf542f7a4c07f6 (patch) | |
| tree | 63fa87e8d11bdb5aa3b14eb161d291c4227b13dd /llvm/lib/Support | |
| parent | 7264a474b7c808e7d3cf44a4e7c0142281ca3cdf (diff) | |
| download | bcm5719-llvm-e6020f5c62ea5f99133fe003aedf542f7a4c07f6.tar.gz bcm5719-llvm-e6020f5c62ea5f99133fe003aedf542f7a4c07f6.zip | |
[clang-tidy] new check: bugprone-posix-return
Summary:
Checks if any calls to posix functions (except posix_openpt) expect negative return values.
These functions return either 0 on success or an errno on failure, which is positive only.
Reviewers: JonasToth, gribozavr, alexfh, hokein
Reviewed By: gribozavr
Subscribers: Eugene.Zelenko, lebedev.ri, llozano, george.burgess.iv, xazax.hun, srhines, mgorny, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D63623
Patch by Jian Cai.
llvm-svn: 365007
Diffstat (limited to 'llvm/lib/Support')
0 files changed, 0 insertions, 0 deletions

