Lines Matching defs:Warnings
1348 /// DiagnoseUnusedDecl - Emit warnings about declarations that are not used
2632 SmallVector<GNUCompatibleParamWarning, 16> Warnings;
2654 Warnings.push_back(Warn);
2661 for (unsigned Warn = 0; Warn < Warnings.size(); ++Warn) {
2662 Diag(Warnings[Warn].NewParm->getLocation(),
2664 << Warnings[Warn].PromotedType
2665 << Warnings[Warn].OldParm->getType();
2666 if (Warnings[Warn].OldParm->getLocation().isValid())
2667 Diag(Warnings[Warn].OldParm->getLocation(),
3041 // Don't emit warnings after this error.
7144 // Doing so is a way to silence uninitialized warnings.
7720 // NOTE: to avoid multiple warnings, only check the first declaration.
8832 // Since the body is valid, issue any analysis-based warnings that are