Lines Matching refs:DiagnosticIDs

177       DiagnosticIDs::SFINAE,                                                   \
275 unsigned DiagnosticIDs::getCategoryNumberForDiag(unsigned DiagID) { in getCategoryNumberForDiag()
317 unsigned DiagnosticIDs::getNumberOfCategories() { in getNumberOfCategories()
324 StringRef DiagnosticIDs::getCategoryNameFromID(unsigned CategoryID) { in getCategoryNameFromID()
332 DiagnosticIDs::SFINAEResponse
333 DiagnosticIDs::getDiagnosticSFINAEResponse(unsigned DiagID) { in getDiagnosticSFINAEResponse()
335 return static_cast<DiagnosticIDs::SFINAEResponse>(Info->SFINAE); in getDiagnosticSFINAEResponse()
339 bool DiagnosticIDs::isDeferrable(unsigned DiagID) { in isDeferrable()
360 typedef std::pair<DiagnosticIDs::Level, std::string> DiagDesc;
374 DiagnosticIDs::Level getLevel(unsigned DiagID) const { in getLevel()
380 unsigned getOrCreateDiagID(DiagnosticIDs::Level L, StringRef Message, in getOrCreateDiagID()
381 DiagnosticIDs &Diags) { in getOrCreateDiagID()
404 DiagnosticIDs::DiagnosticIDs() {} in DiagnosticIDs() function in DiagnosticIDs
406 DiagnosticIDs::~DiagnosticIDs() {} in ~DiagnosticIDs()
414 unsigned DiagnosticIDs::getCustomDiagID(Level L, StringRef FormatString) { in getCustomDiagID()
425 bool DiagnosticIDs::isBuiltinWarningOrExtension(unsigned DiagID) { in isBuiltinWarningOrExtension()
432 bool DiagnosticIDs::isBuiltinNote(unsigned DiagID) { in isBuiltinNote()
442 bool DiagnosticIDs::isBuiltinExtensionDiag(unsigned DiagID, in isBuiltinExtensionDiag()
453 bool DiagnosticIDs::isDefaultMappingAsError(unsigned DiagID) { in isDefaultMappingAsError()
462 StringRef DiagnosticIDs::getDescription(unsigned DiagID) const { in getDescription()
469 static DiagnosticIDs::Level toLevel(diag::Severity SV) { in toLevel()
472 return DiagnosticIDs::Ignored; in toLevel()
474 return DiagnosticIDs::Remark; in toLevel()
476 return DiagnosticIDs::Warning; in toLevel()
478 return DiagnosticIDs::Error; in toLevel()
480 return DiagnosticIDs::Fatal; in toLevel()
488 DiagnosticIDs::Level
489 DiagnosticIDs::getDiagnosticLevel(unsigned DiagID, SourceLocation Loc, in getDiagnosticLevel()
498 if (DiagClass == CLASS_NOTE) return DiagnosticIDs::Note; in getDiagnosticLevel()
509 DiagnosticIDs::getDiagnosticSeverity(unsigned DiagID, SourceLocation Loc, in getDiagnosticSeverity()
620 StringRef DiagnosticIDs::getWarningOptionForDiag(unsigned DiagID) { in getWarningOptionForDiag()
626 std::vector<std::string> DiagnosticIDs::getDiagnosticFlags() { in getDiagnosticFlags()
669 DiagnosticIDs::getDiagnosticsInGroup(diag::Flavor Flavor, StringRef Group, in getDiagnosticsInGroup()
679 void DiagnosticIDs::getAllDiagnostics(diag::Flavor Flavor, in getAllDiagnostics()
686 StringRef DiagnosticIDs::getNearestOption(diag::Flavor Flavor, in getNearestOption()
719 bool DiagnosticIDs::ProcessDiag(DiagnosticsEngine &Diag) const { in ProcessDiag()
726 DiagnosticIDs::Level DiagLevel in ProcessDiag()
731 if (DiagLevel >= DiagnosticIDs::Error) { in ProcessDiag()
740 if (DiagLevel != DiagnosticIDs::Note) { in ProcessDiag()
745 if (Diag.LastDiagLevel == DiagnosticIDs::Fatal) in ProcessDiag()
754 if (DiagLevel >= DiagnosticIDs::Error && in ProcessDiag()
764 if (DiagLevel == DiagnosticIDs::Ignored || in ProcessDiag()
765 (DiagLevel == DiagnosticIDs::Note && in ProcessDiag()
766 Diag.LastDiagLevel == DiagnosticIDs::Ignored)) in ProcessDiag()
769 if (DiagLevel >= DiagnosticIDs::Error) { in ProcessDiag()
785 DiagLevel == DiagnosticIDs::Error) { in ProcessDiag()
800 void DiagnosticIDs::EmitDiag(DiagnosticsEngine &Diag, Level DiagLevel) const { in EmitDiag()
802 assert(DiagLevel != DiagnosticIDs::Ignored && "Cannot emit ignored diagnostics!"); in EmitDiag()
806 if (DiagLevel == DiagnosticIDs::Warning) in EmitDiag()
813 bool DiagnosticIDs::isUnrecoverable(unsigned DiagID) const { in isUnrecoverable()
817 return CustomDiagInfo->getLevel(DiagID) >= DiagnosticIDs::Error; in isUnrecoverable()
835 bool DiagnosticIDs::isARCDiagnostic(unsigned DiagID) { in isARCDiagnostic()
837 return DiagnosticIDs::getCategoryNameFromID(cat).startswith("ARC "); in isARCDiagnostic()