clang API Documentation

Typedefs | Functions | Variables
CheckerRegistry.cpp File Reference
#include "clang/StaticAnalyzer/Core/CheckerRegistry.h"
#include "clang/StaticAnalyzer/Core/CheckerOptInfo.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

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

Definition at line 19 of file CheckerRegistry.cpp.


Function Documentation

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

Variable Documentation

const char PackageSeparator = '.' [static]

Definition at line 18 of file CheckerRegistry.cpp.

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