llvm-project/clang-tools-extra/docs/clang-tidy
Dmitri Gribenko e6020f5c62 [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
2019-07-03 09:20:18 +00:00
..
checks [clang-tidy] new check: bugprone-posix-return 2019-07-03 09:20:18 +00:00
Contributing.rst [clang-tidy] Separate the check-facing interface 2019-03-25 12:36:30 +00:00
Integrations.rst [clang-tidy] Update documentation for Qt Creator integration. 2019-06-25 13:50:09 +00:00
index.rst Fixed two issues in clang-tidy -help. 2019-07-01 18:55:10 +00:00