Lines Matching refs:Flavor
61 diag::Flavor getFlavor() const { in getFlavor()
62 return Class == CLASS_REMARK ? diag::Flavor::Remark in getFlavor()
63 : diag::Flavor::WarningOrError; in getFlavor()
522 static bool getDiagnosticsInGroup(diag::Flavor Flavor, in getDiagnosticsInGroup() argument
528 return Flavor == diag::Flavor::Remark; in getDiagnosticsInGroup()
535 if (GetDiagInfo(*Member)->getFlavor() == Flavor) { in getDiagnosticsInGroup()
544 NotFound &= getDiagnosticsInGroup(Flavor, &OptionTable[(short)*SubGroups], in getDiagnosticsInGroup()
551 DiagnosticIDs::getDiagnosticsInGroup(diag::Flavor Flavor, StringRef Group, in getDiagnosticsInGroup() argument
561 return ::getDiagnosticsInGroup(Flavor, Found, Diags); in getDiagnosticsInGroup()
564 void DiagnosticIDs::getAllDiagnostics(diag::Flavor Flavor, in getAllDiagnostics() argument
567 if (StaticDiagInfo[i].getFlavor() == Flavor) in getAllDiagnostics()
571 StringRef DiagnosticIDs::getNearestOption(diag::Flavor Flavor, in getNearestOption() argument
586 if (::getDiagnosticsInGroup(Flavor, &O, Diags) || Diags.empty()) in getNearestOption()