reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
244 if (!E->isUnusedResultAWarning(WarnExpr, Loc, R1, R2, Context)) 251 if (isa<StmtExpr>(E) && Loc.isMacroID()) 257 if (isa<ParenExpr>(E->IgnoreImpCasts()) && Loc.isMacroID()) { 258 SourceLocation SpellLoc = Loc; 287 Loc, R1, R2, /*isCtor=*/false)) 298 Diag(Loc, diag::warn_unused_call) << R1 << R2 << "pure"; 302 Diag(Loc, diag::warn_unused_call) << R1 << R2 << "const"; 310 if (DiagnoseNoDiscard(*this, A, Loc, R1, R2, /*isCtor=*/true)) 316 if (DiagnoseNoDiscard(*this, TD->getAttr<WarnUnusedResultAttr>(), Loc, R1, 326 Diag(Loc, diag::err_arc_unused_init_message) << R1; 331 if (DiagnoseNoDiscard(*this, MD->getAttr<WarnUnusedResultAttr>(), Loc, R1, 362 Diag(Loc, diag::warn_unused_voidptr) 369 Diag(Loc, diag::warn_unused_volatile) << R1 << R2; 373 DiagRuntimeBehavior(Loc, nullptr, PDiag(DiagID) << R1 << R2);