clang API Documentation
#include "clang/StaticAnalyzer/Core/CheckerRegistry.h"
#include "clang/StaticAnalyzer/Core/CheckerOptInfo.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/Support/raw_ostream.h"
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 llvm::SetVector<const CheckerRegistry::CheckerInfo *> CheckerInfoSet |
Definition at line 19 of file CheckerRegistry.cpp.
static bool checkerNameLT | ( | const CheckerRegistry::CheckerInfo & | a, |
const CheckerRegistry::CheckerInfo & | b | ||
) | [static] |
Definition at line 22 of file CheckerRegistry.cpp.
References clang::ento::CheckerRegistry::CheckerInfo::FullName.
Referenced by collectCheckers(), clang::ento::CheckerRegistry::initializeManager(), and clang::ento::CheckerRegistry::printHelp().
static void collectCheckers | ( | const CheckerRegistry::CheckerInfoList & | checkers, |
const llvm::StringMap< size_t > & | packageSizes, | ||
CheckerOptInfo & | opt, | ||
CheckerInfoSet & | collected | ||
) | [static] |
Definition at line 44 of file CheckerRegistry.cpp.
References checkerNameLT(), clang::ento::CheckerOptInfo::claim(), clang::ento::CheckerOptInfo::getName(), clang::ento::CheckerOptInfo::isEnabled(), and isInPackage().
Referenced by clang::ento::CheckerRegistry::initializeManager().
static bool isInPackage | ( | const CheckerRegistry::CheckerInfo & | checker, |
StringRef | packageName | ||
) | [static] |
Definition at line 27 of file CheckerRegistry.cpp.
References clang::ento::CheckerRegistry::CheckerInfo::FullName, and PackageSeparator.
Referenced by collectCheckers().
const char PackageSeparator = '.' [static] |
Definition at line 18 of file CheckerRegistry.cpp.
Referenced by clang::ento::CheckerRegistry::addChecker(), and isInPackage().