llvm-project/clang-tools-extra/clang-tidy/android
Yan Wang b38045d02e [clang-tidy] Add a new Android check "android-cloexec-socket"
Summary: socket() is better to include SOCK_CLOEXEC in its type argument to avoid the file descriptor leakage.

Reviewers: chh, Eugene.Zelenko, alexfh, hokein, aaron.ballman

Reviewed By: chh, alexfh

Subscribers: srhines, mgorny, JDevlieghere, xazax.hun, cfe-commits

Tags: #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D34913

llvm-svn: 307818
2017-07-12 17:43:36 +00:00
..
AndroidTidyModule.cpp [clang-tidy] Add a new Android check "android-cloexec-socket" 2017-07-12 17:43:36 +00:00
CMakeLists.txt [clang-tidy] Add a new Android check "android-cloexec-socket" 2017-07-12 17:43:36 +00:00
CloexecCreatCheck.cpp
CloexecCreatCheck.h
CloexecFopenCheck.cpp [clang-tidy][Part3] Add a new module Android and three new checks. 2017-06-29 17:42:23 +00:00
CloexecFopenCheck.h [clang-tidy][Part3] Add a new module Android and three new checks. 2017-06-29 17:42:23 +00:00
CloexecOpenCheck.cpp [clang-tidy] Add a new Android check "android-cloexec-socket" 2017-07-12 17:43:36 +00:00
CloexecOpenCheck.h [clang-tidy] Rename android-file-open-flag and fix a bug 2017-06-29 19:13:29 +00:00
CloexecSocketCheck.cpp [clang-tidy] Add a new Android check "android-cloexec-socket" 2017-07-12 17:43:36 +00:00
CloexecSocketCheck.h [clang-tidy] Add a new Android check "android-cloexec-socket" 2017-07-12 17:43:36 +00:00