diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2011-10-20 21:14:49 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2011-10-20 21:14:49 +0000 |
commit | 36981b17ed939300f6f8fc2355a255f711fcef71 (patch) | |
tree | ee2483e98b09cac943dc93a6969d83ca737ff139 /include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h | |
parent | 180abc3db9ae3b4fc63cd65b15697e6ffcc8a657 (diff) |
Notes
Diffstat (limited to 'include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h')
-rw-r--r-- | include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h b/include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h index 9d6298f36e3b4..492edd4ccb412 100644 --- a/include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h +++ b/include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h @@ -1,4 +1,4 @@ -//===-- CheckerRegistration.h - Checker Registration Function-------*- C++ -*-===// +//===-- CheckerRegistration.h - Checker Registration Function ---*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -10,17 +10,21 @@ #ifndef LLVM_CLANG_SA_FRONTEND_CHECKERREGISTRATION_H #define LLVM_CLANG_SA_FRONTEND_CHECKERREGISTRATION_H +#include "clang/Basic/LLVM.h" +#include <string> + namespace clang { class AnalyzerOptions; class LangOptions; - class Diagnostic; + class DiagnosticsEngine; namespace ento { class CheckerManager; -CheckerManager *registerCheckers(const AnalyzerOptions &opts, - const LangOptions &langOpts, - Diagnostic &diags); +CheckerManager *createCheckerManager(const AnalyzerOptions &opts, + const LangOptions &langOpts, + ArrayRef<std::string> plugins, + DiagnosticsEngine &diags); } // end ento namespace |