Lines Matching refs:DiagID
414 unsigned DiagID);
481 unsigned DiagID; in InlineAsmDiagHandler2() local
484 DiagID = diag::err_fe_inline_asm; in InlineAsmDiagHandler2()
487 DiagID = diag::warn_fe_inline_asm; in InlineAsmDiagHandler2()
490 DiagID = diag::note_fe_inline_asm; in InlineAsmDiagHandler2()
499 Diags.Report(LocCookie, DiagID).AddString(Message); in InlineAsmDiagHandler2()
517 Diags.Report(Loc, DiagID).AddString(Message); in InlineAsmDiagHandler2()
520 #define ComputeDiagID(Severity, GroupName, DiagID) \ argument
524 DiagID = diag::err_fe_##GroupName; \
527 DiagID = diag::warn_fe_##GroupName; \
533 DiagID = diag::note_fe_##GroupName; \
538 #define ComputeDiagRemarkID(Severity, GroupName, DiagID) \ argument
542 DiagID = diag::err_fe_##GroupName; \
545 DiagID = diag::warn_fe_##GroupName; \
548 DiagID = diag::remark_fe_##GroupName; \
551 DiagID = diag::note_fe_##GroupName; \
558 unsigned DiagID; in InlineAsmDiagHandler() local
559 ComputeDiagID(D.getSeverity(), inline_asm, DiagID); in InlineAsmDiagHandler()
568 Diags.Report(LocCookie, DiagID).AddString(Message); in InlineAsmDiagHandler()
575 Diags.Report(Loc, DiagID).AddString(Message); in InlineAsmDiagHandler()
678 const llvm::DiagnosticInfoOptimizationBase &D, unsigned DiagID) { in EmitOptimizationMessage() argument
703 Diags.Report(Loc, DiagID) in EmitOptimizationMessage()
785 unsigned DiagID = diag::err_fe_inline_asm; in DiagnosticHandlerImpl() local
792 ComputeDiagID(Severity, inline_asm, DiagID); in DiagnosticHandlerImpl()
797 ComputeDiagID(Severity, backend_frame_larger_than, DiagID); in DiagnosticHandlerImpl()
804 DiagID = diag::err_fe_cannot_link_module; in DiagnosticHandlerImpl()
856 ComputeDiagRemarkID(Severity, backend_plugin, DiagID); in DiagnosticHandlerImpl()
866 if (DiagID == diag::err_fe_cannot_link_module) { in DiagnosticHandlerImpl()
874 Diags.Report(Loc, DiagID).AddString(MsgStorage); in DiagnosticHandlerImpl()
996 unsigned DiagID; in BitcodeInlineAsmDiagHandler() local
999 DiagID = diag::err_fe_inline_asm; in BitcodeInlineAsmDiagHandler()
1002 DiagID = diag::warn_fe_inline_asm; in BitcodeInlineAsmDiagHandler()
1005 DiagID = diag::note_fe_inline_asm; in BitcodeInlineAsmDiagHandler()
1011 Diags->Report(DiagID).AddString("cannot compile inline asm"); in BitcodeInlineAsmDiagHandler()
1026 unsigned DiagID = in loadModule() local
1029 CI.getDiagnostics().Report(DiagID) << EIB.message(); in loadModule()
1073 unsigned DiagID = in loadModule() local
1076 CI.getDiagnostics().Report(Loc, DiagID) << Msg; in loadModule()