Searched refs:ErrorDiagnostic (Results 1 – 3 of 3) sorted by relevance
257 return ErrorDiagnostic::get( in getImplicitFormat()291 return ErrorDiagnostic::get(SM, Str, "empty variable name"); in parseVariable()301 return ErrorDiagnostic::get(SM, Str.slice(I, StringRef::npos), in parseVariable()307 return ErrorDiagnostic::get(SM, Str, "invalid variable name"); in parseVariable()332 char ErrorDiagnostic::ID = 0;346 return ErrorDiagnostic::get( in parseNumericVariableDefinition()352 return ErrorDiagnostic::get( in parseNumericVariableDefinition()357 return ErrorDiagnostic::get( in parseNumericVariableDefinition()365 return ErrorDiagnostic::get( in parseNumericVariableDefinition()378 return ErrorDiagnostic::get( in parseNumericVariableUse()[all …]
487 class ErrorDiagnostic : public ErrorInfo<ErrorDiagnostic> {495 ErrorDiagnostic(SMDiagnostic &&Diag, SMRange Range)510 return make_error<ErrorDiagnostic>(521 ErrorDiagnostic(SMDiagnostic &&Diag, SMRange Range) ErrorDiagnostic() function
2366 unsigned ErrorDiagnostic) { in getApplicableDiagnostic() argument2368 return ErrorDiagnostic; in getApplicableDiagnostic()2370 switch (ErrorDiagnostic) { in getApplicableDiagnostic()