Lines Matching refs:DiagnosticsEngine
26 static void DummyArgToStringFn(DiagnosticsEngine::ArgumentKind AK, intptr_t QT,
29 const DiagnosticsEngine::ArgumentValue *PrevArgs,
39 DiagnosticsEngine::DiagnosticsEngine(
68 DiagnosticsEngine::~DiagnosticsEngine() {
73 void DiagnosticsEngine::setClient(DiagnosticConsumer *client,
82 void DiagnosticsEngine::pushMappings(SourceLocation Loc) {
86 bool DiagnosticsEngine::popMappings(SourceLocation Loc) {
98 void DiagnosticsEngine::Reset() {
125 void DiagnosticsEngine::SetDelayedDiagnostic(unsigned DiagID, StringRef Arg1,
135 void DiagnosticsEngine::ReportDelayed() {
142 DiagnosticsEngine::DiagStatePointsTy::iterator
143 DiagnosticsEngine::GetDiagStatePointForLoc(SourceLocation L) const {
165 void DiagnosticsEngine::setDiagnosticMapping(diag::kind Diag, diag::Mapping Map,
233 bool DiagnosticsEngine::setDiagnosticGroupMapping(
248 void DiagnosticsEngine::setDiagnosticWarningAsError(diag::kind Diag,
266 bool DiagnosticsEngine::setDiagnosticGroupWarningAsError(StringRef Group,
296 void DiagnosticsEngine::setDiagnosticErrorAsFatal(diag::kind Diag,
313 bool DiagnosticsEngine::setDiagnosticGroupErrorAsFatal(StringRef Group,
342 void DiagnosticsEngine::setMappingToAllDiagnostics(diag::Mapping Map,
354 void DiagnosticsEngine::Report(const StoredDiagnostic &storedDiag) {
362 assert(NumDiagRanges < DiagnosticsEngine::MaxRanges &&
370 assert(NumDiagRanges < DiagnosticsEngine::MaxFixItHints &&
383 if (DiagLevel == DiagnosticsEngine::Warning)
390 bool DiagnosticsEngine::EmitCurrentDiagnostic(bool Force) {
426 void DiagnosticConsumer::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
431 if (DiagLevel == DiagnosticsEngine::Warning)
433 else if (DiagLevel >= DiagnosticsEngine::Error)
667 SmallVector<DiagnosticsEngine::ArgumentValue, 8> FormattedArgs;
675 if (getArgKind(i) == DiagnosticsEngine::ak_qualtype)
728 DiagnosticsEngine::ArgumentKind Kind = getArgKind(ArgNo);
734 DiagnosticsEngine::ArgumentKind Kind2 = getArgKind(ArgNo2);
735 if (Kind == DiagnosticsEngine::ak_qualtype &&
736 Kind2 == DiagnosticsEngine::ak_qualtype)
737 Kind = DiagnosticsEngine::ak_qualtype_pair;
760 case DiagnosticsEngine::ak_std_string: {
766 case DiagnosticsEngine::ak_c_string: {
778 case DiagnosticsEngine::ak_sint: {
797 case DiagnosticsEngine::ak_uint: {
816 case DiagnosticsEngine::ak_identifierinfo: {
830 case DiagnosticsEngine::ak_qualtype:
831 case DiagnosticsEngine::ak_declarationname:
832 case DiagnosticsEngine::ak_nameddecl:
833 case DiagnosticsEngine::ak_nestednamespec:
834 case DiagnosticsEngine::ak_declcontext:
841 case DiagnosticsEngine::ak_qualtype_pair:
889 FormattedArgs.push_back(std::make_pair(DiagnosticsEngine::ak_qualtype,
903 FormattedArgs.push_back(std::make_pair(DiagnosticsEngine::ak_qualtype,
914 if (Kind == DiagnosticsEngine::ak_qualtype_pair)
916 else if (Kind != DiagnosticsEngine::ak_std_string)
919 FormattedArgs.push_back(std::make_pair(DiagnosticsEngine::ak_c_string,
930 StoredDiagnostic::StoredDiagnostic(DiagnosticsEngine::Level Level, unsigned ID,
934 StoredDiagnostic::StoredDiagnostic(DiagnosticsEngine::Level Level,
955 StoredDiagnostic::StoredDiagnostic(DiagnosticsEngine::Level Level, unsigned ID,
969 /// reported by DiagnosticsEngine.