clang-tools  5.0.0
Classes | Functions | Variables
clang::tidy::android Namespace Reference

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"
 

Function Documentation

static ClangTidyModuleRegistry::Add<AndroidModule> clang::tidy::android::X ( "android-module"  ,
"Adds Android platform checks."   
)
static

Variable Documentation

constexpr const char* clang::tidy::android::O_CLOEXEC = "O_CLOEXEC"
static

Definition at line 22 of file CloexecOpenCheck.cpp.

Referenced by clang::tidy::android::CloexecOpenCheck::check().

constexpr const char* clang::tidy::android::SOCK_CLOEXEC = "SOCK_CLOEXEC"
static