clang-tools
5.0.0
|
Classes | |
class | AndroidModule |
This module is for Android specific checks. More... | |
class | CloexecCreatCheck |
creat() is better to be replaced by open(). More... | |
class | CloexecFopenCheck |
fopen() is suggested to include "e" in their mode string; like "re" would be better than "r". More... | |
class | CloexecOpenCheck |
Finds code that opens file without using the O_CLOEXEC flag. More... | |
class | CloexecSocketCheck |
Finds code that uses socket() without using the SOCK_CLOEXEC flag. More... | |
Functions | |
static ClangTidyModuleRegistry::Add < AndroidModule > | X ("android-module","Adds Android platform checks.") |
Variables | |
static constexpr const char * | O_CLOEXEC = "O_CLOEXEC" |
static constexpr const char * | SOCK_CLOEXEC = "SOCK_CLOEXEC" |
|
static |
|
static |
Definition at line 22 of file CloexecOpenCheck.cpp.
Referenced by clang::tidy::android::CloexecOpenCheck::check().
|
static |
Definition at line 21 of file CloexecSocketCheck.cpp.
Referenced by clang::tidy::android::CloexecSocketCheck::check().