Lines Matching refs:diags
38 static void warnIncompatible(DiagnosticsEngine *diags, StringRef pluginPath,
43 DiagnosticsEngine *diags = nullptr);
49 DiagnosticsEngine *diags) { in ClangCheckerRegistry() argument
58 diags->Report(diag::err_fe_unable_to_load_plugin) << *i << err; in ClangCheckerRegistry()
66 warnIncompatible(diags, *i, pluginAPIVersion); in ClangCheckerRegistry()
89 void ClangCheckerRegistry::warnIncompatible(DiagnosticsEngine *diags, in warnIncompatible() argument
92 if (!diags) in warnIncompatible()
97 diags->Report(diag::warn_incompatible_analyzer_plugin_api) in warnIncompatible()
99 diags->Report(diag::note_incompatible_analyzer_plugin_api) in warnIncompatible()
107 DiagnosticsEngine &diags) { in createCheckerManager() argument
117 ClangCheckerRegistry allCheckers(plugins, &diags); in createCheckerManager()
119 allCheckers.validateCheckerOptions(opts, diags); in createCheckerManager()
124 diags.Report(diag::err_unknown_analyzer_checker) in createCheckerManager()
126 diags.Report(diag::note_suggest_disabling_all_checkers); in createCheckerManager()