Home | History | Annotate | Download | only in Frontend

Lines Matching refs:checker

59 #define CHECKER(FULLNAME, CLASS, HELPTEXT, DOC_URI, IS_HIDDEN)                 \
67 #undef CHECKER
160 "A checker cannot strong and weak depend on the same checker!");
171 // Parse '-analyzer-checker' and '-analyzer-disable-checker' options from the
182 for (CheckerInfo &checker : CheckerForCmdLineArg) {
183 checker.State = Opt.second ? StateFromCmdLine::State_Enabled
212 auto IsEnabledFromCmdLine = [&](const CheckerInfo *Checker) {
213 return !Checker->isDisabled(Mgr);
215 for (const CheckerInfo &Checker : Data.Checkers) {
216 if (!Checker.isEnabled(Mgr))
220 if (!collectStrongDependencies(Checker.Dependencies, Mgr, Deps,
223 // checker.
229 // Enable the checker.
230 Tmp.insert(&Checker);
236 auto IsEnabled = [&](const CheckerInfo *Checker) {
237 return llvm::is_contained(Tmp, Checker);
239 for (const CheckerInfo &Checker : Data.Checkers) {
240 if (!Checker.isEnabled(Mgr))
245 collectWeakDependencies(Checker.WeakDependencies, Mgr, Deps, IsEnabled);
247 if (!collectStrongDependencies(Checker.Dependencies, Mgr, Deps,
250 // checker.
256 Data.EnabledCheckers.insert(&Checker);
287 // Don't enable this checker if strong dependencies are unsatisfied, but
305 "Failed to find the checker while attempting to set up its "
311 "Failed to find the dependency of a checker!");
337 // Checker option resolving and validating.
340 /// Insert the checker/package option to AnalyzerOptions' config table, and
356 // Insertion failed, the user supplied this package/checker option on the
397 "Failed to find the checker while attempting to add a command line "
441 // Record the presence of the checker in its packages.
464 for (const auto *Checker : Data.EnabledCheckers) {
465 CheckerMgr.setCurrentCheckerName(CheckerNameRef(Checker->FullName));
466 Checker->Initialize(CheckerMgr);
509 // it would return with an iterator to the first checker in the core, so we