clang  6.0.0svn
Typedefs | Functions | Variables
CheckerRegistry.cpp File Reference
#include "clang/StaticAnalyzer/Core/CheckerRegistry.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Frontend/FrontendDiagnostic.h"
#include "clang/StaticAnalyzer/Core/CheckerOptInfo.h"
#include "clang/StaticAnalyzer/Core/AnalyzerOptions.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for CheckerRegistry.cpp:

Go to the source code of this file.

Typedefs

typedef llvm::SetVector< const CheckerRegistry::CheckerInfo * > CheckerInfoSet
 

Functions

static bool checkerNameLT (const CheckerRegistry::CheckerInfo &a, const CheckerRegistry::CheckerInfo &b)
 
static bool isInPackage (const CheckerRegistry::CheckerInfo &checker, StringRef packageName)
 
static void collectCheckers (const CheckerRegistry::CheckerInfoList &checkers, const llvm::StringMap< size_t > &packageSizes, CheckerOptInfo &opt, CheckerInfoSet &collected)
 

Variables

static const char PackageSeparator = '.'
 

Typedef Documentation

◆ CheckerInfoSet

typedef llvm::SetVector<const CheckerRegistry::CheckerInfo *> CheckerInfoSet

Definition at line 22 of file CheckerRegistry.cpp.

Function Documentation

◆ checkerNameLT()

static bool checkerNameLT ( const CheckerRegistry::CheckerInfo a,
const CheckerRegistry::CheckerInfo b 
)
static

◆ collectCheckers()

static void collectCheckers ( const CheckerRegistry::CheckerInfoList checkers,
const llvm::StringMap< size_t > &  packageSizes,
CheckerOptInfo opt,
CheckerInfoSet collected 
)
static

◆ isInPackage()

static bool isInPackage ( const CheckerRegistry::CheckerInfo checker,
StringRef  packageName 
)
static

Variable Documentation

◆ PackageSeparator

const char PackageSeparator = '.'
static

Definition at line 21 of file CheckerRegistry.cpp.

Referenced by clang::ento::CheckerRegistry::addChecker(), and isInPackage().