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()
92 void ClangCheckerRegistry::warnIncompatible(DiagnosticsEngine *diags, in warnIncompatible() argument
95 if (!diags) in warnIncompatible()
100 diags->Report(diag::warn_incompatible_analyzer_plugin_api) in warnIncompatible()
102 diags->Report(diag::note_incompatible_analyzer_plugin_api) in warnIncompatible()
110 DiagnosticsEngine &diags) { in createCheckerManager() argument
120 ClangCheckerRegistry allCheckers(plugins, &diags); in createCheckerManager()
122 allCheckers.validateCheckerOptions(opts, diags); in createCheckerManager()
127 diags.Report(diag::err_unknown_analyzer_checker) in createCheckerManager()
129 diags.Report(diag::note_suggest_disabling_all_checkers); in createCheckerManager()