10 #ifndef LLVM_CLANG_STATICANALYZER_CORE_CHECKERREGISTRY_H
11 #define LLVM_CLANG_STATICANALYZER_CORE_CHECKERREGISTRY_H
57 #ifndef CLANG_ANALYZER_API_VERSION_STRING
63 #define CLANG_ANALYZER_API_VERSION_STRING CLANG_VERSION_STRING
67 class DiagnosticsEngine;
68 class AnalyzerOptions;
114 addChecker(&CheckerRegistry::initializeManager<T>, fullName, desc);
130 void printHelp(raw_ostream &out,
size_t maxNameChars = 30)
const ;
134 mutable llvm::StringMap<size_t> Packages;
InitializationFunction Initialize
void addChecker(StringRef fullName, StringRef desc)
CheckerInfo(InitializationFunction fn, StringRef name, StringRef desc)
void addChecker(InitializationFunction fn, StringRef fullName, StringRef desc)
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
Concrete class used by the front-end to report problems and issues.
Defines version macros and version-related utility functions for Clang.
CHECKER * registerChecker()
Used to register checkers.
void(* InitializationFunction)(CheckerManager &)
void printHelp(raw_ostream &out, size_t maxNameChars=30) const
void validateCheckerOptions(const AnalyzerOptions &opts, DiagnosticsEngine &diags) const
Check if every option corresponds to a specific checker or package.
std::vector< CheckerInfo > CheckerInfoList