diff options
Diffstat (limited to 'include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h')
-rw-r--r-- | include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h b/include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h index 216a2359efba1..61709548aed1e 100644 --- a/include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h +++ b/include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h @@ -10,6 +10,7 @@ #ifndef LLVM_CLANG_STATICANALYZER_FRONTEND_CHECKERREGISTRATION_H #define LLVM_CLANG_STATICANALYZER_FRONTEND_CHECKERREGISTRATION_H +#include "clang/AST/ASTContext.h" #include "clang/Basic/LLVM.h" #include <functional> #include <memory> @@ -25,7 +26,8 @@ namespace ento { class CheckerRegistry; std::unique_ptr<CheckerManager> createCheckerManager( - AnalyzerOptions &opts, const LangOptions &langOpts, + ASTContext &context, + AnalyzerOptions &opts, ArrayRef<std::string> plugins, ArrayRef<std::function<void(CheckerRegistry &)>> checkerRegistrationFns, DiagnosticsEngine &diags); |