Searched refs:DiagInfo (Results 1 – 3 of 3) sorted by relevance
50 SrcMgrDiagInfo *DiagInfo = static_cast<SrcMgrDiagInfo *>(diagInfo); in srcMgrDiagHandler() local51 assert(DiagInfo && "Diagnostic context not passed down?"); in srcMgrDiagHandler()56 if (const MDNode *LocInfo = DiagInfo->LocInfo) { in srcMgrDiagHandler()67 DiagInfo->DiagHandler(Diag, DiagInfo->DiagContext, LocCookie); in srcMgrDiagHandler()89 SrcMgrDiagInfo DiagInfo; in EmitInlineAsm() local97 DiagInfo.LocInfo = LocMDNode; in EmitInlineAsm()98 DiagInfo.DiagHandler = LLVMCtx.getInlineAsmDiagnosticHandler(); in EmitInlineAsm()99 DiagInfo.DiagContext = LLVMCtx.getInlineAsmDiagnosticContext(); in EmitInlineAsm()100 SrcMgr.setDiagHandler(srcMgrDiagHandler, &DiagInfo); in EmitInlineAsm()
276 std::vector<DiagDesc> DiagInfo; member in clang::diag::CustomDiagInfo283 assert(this && DiagID-DIAG_UPPER_LIMIT < DiagInfo.size() && in getDescription()285 return DiagInfo[DiagID-DIAG_UPPER_LIMIT].second; in getDescription()290 assert(this && DiagID-DIAG_UPPER_LIMIT < DiagInfo.size() && in getLevel()292 return DiagInfo[DiagID-DIAG_UPPER_LIMIT].first; in getLevel()304 unsigned ID = DiagInfo.size()+DIAG_UPPER_LIMIT; in getOrCreateDiagID()306 DiagInfo.push_back(D); in getOrCreateDiagID()
856 Diagnostic DiagInfo(&Diags); in EmitCurrentDiagnostic() local857 (*Info)->addSFINAEDiagnostic(DiagInfo.getLocation(), in EmitCurrentDiagnostic()858 PartialDiagnostic(DiagInfo, Context.getDiagAllocator())); in EmitCurrentDiagnostic()881 Diagnostic DiagInfo(&Diags); in EmitCurrentDiagnostic() local882 (*Info)->addSFINAEDiagnostic(DiagInfo.getLocation(), in EmitCurrentDiagnostic()883 PartialDiagnostic(DiagInfo, Context.getDiagAllocator())); in EmitCurrentDiagnostic()903 Diagnostic DiagInfo(&Diags); in EmitCurrentDiagnostic() local904 (*Info)->addSuppressedDiagnostic(DiagInfo.getLocation(), in EmitCurrentDiagnostic()905 PartialDiagnostic(DiagInfo, Context.getDiagAllocator())); in EmitCurrentDiagnostic()