clang  8.0.0svn
Typedefs | Functions | Variables
CheckerRegistry.cpp File Reference
#include "clang/StaticAnalyzer/Core/CheckerRegistry.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/LLVM.h"
#include "clang/Frontend/FrontendDiagnostic.h"
#include "clang/StaticAnalyzer/Core/CheckerManager.h"
#include "clang/StaticAnalyzer/Core/CheckerOptInfo.h"
#include "clang/StaticAnalyzer/Core/AnalyzerOptions.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cstddef>
#include <tuple>
Include dependency graph for CheckerRegistry.cpp:

Go to the source code of this file.

Typedefs

using CheckerInfoSet = llvm::SetVector< const CheckerRegistry::CheckerInfo * >
 

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

using CheckerInfoSet = llvm::SetVector<const CheckerRegistry::CheckerInfo *>

Definition at line 31 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

Definition at line 38 of file CheckerRegistry.cpp.

References PackageSeparator.

Referenced by collectCheckers().

Variable Documentation

◆ PackageSeparator

const char PackageSeparator = '.'
static

Definition at line 29 of file CheckerRegistry.cpp.

Referenced by collectCheckers(), and isInPackage().