Home | History | Annotate | Download | only in Sema

Lines Matching refs:DIA

6678   for (const auto *DIA : ND->specific_attrs<DiagnoseIfAttr>()) {
6679 if (ArgDependent == DIA->getArgDependent())
6680 Attrs.push_back(DIA);
6689 [](const DiagnoseIfAttr *DIA) { return DIA->isError(); });
6696 const DiagnoseIfAttr *DIA = *ErrAttr;
6697 S.Diag(Loc, diag::err_diagnose_if_succeeded) << DIA->getMessage();
6698 S.Diag(DIA->getLocation(), diag::note_from_diagnose_if)
6699 << DIA->getParent() << DIA->getCond()->getSourceRange();
6703 for (const auto *DIA : llvm::make_range(WarningBegin, Attrs.end()))
6704 if (IsSuccessful(DIA)) {
6705 S.Diag(Loc, diag::warn_diagnose_if_succeeded) << DIA->getMessage();
6706 S.Diag(DIA->getLocation(), diag::note_from_diagnose_if)
6707 << DIA->getParent() << DIA->getCond()->getSourceRange();
6719 [&](const DiagnoseIfAttr *DIA) {
6724 if (!DIA->getCond()->EvaluateWithSubstitution(
6725 Result, Context, cast<FunctionDecl>(DIA->getParent()), Args, ThisArg))
6735 [&](const DiagnoseIfAttr *DIA) {
6737 return DIA