Searched refs:DiagInfo (Results 1 – 3 of 3) sorted by relevance
55 SrcMgrDiagInfo *DiagInfo = static_cast<SrcMgrDiagInfo *>(diagInfo); in srcMgrDiagHandler() local56 assert(DiagInfo && "Diagnostic context not passed down?"); in srcMgrDiagHandler()61 if (const MDNode *LocInfo = DiagInfo->LocInfo) { in srcMgrDiagHandler()72 DiagInfo->DiagHandler(Diag, DiagInfo->DiagContext, LocCookie); in srcMgrDiagHandler()102 SrcMgrDiagInfo DiagInfo; in EmitInlineAsm() local110 DiagInfo.LocInfo = LocMDNode; in EmitInlineAsm()111 DiagInfo.DiagHandler = LLVMCtx.getInlineAsmDiagnosticHandler(); in EmitInlineAsm()112 DiagInfo.DiagContext = LLVMCtx.getInlineAsmDiagnosticContext(); in EmitInlineAsm()113 SrcMgr.setDiagHandler(srcMgrDiagHandler, &DiagInfo); in EmitInlineAsm()
260 std::vector<DiagDesc> DiagInfo; member in clang::diag::CustomDiagInfo267 assert(DiagID - DIAG_UPPER_LIMIT < DiagInfo.size() && in getDescription()269 return DiagInfo[DiagID-DIAG_UPPER_LIMIT].second; in getDescription()274 assert(DiagID - DIAG_UPPER_LIMIT < DiagInfo.size() && in getLevel()276 return DiagInfo[DiagID-DIAG_UPPER_LIMIT].first; in getLevel()288 unsigned ID = DiagInfo.size()+DIAG_UPPER_LIMIT; in getOrCreateDiagID()290 DiagInfo.push_back(D); in getOrCreateDiagID()
939 Diagnostic DiagInfo(&Diags); in EmitCurrentDiagnostic() local940 (*Info)->addSFINAEDiagnostic(DiagInfo.getLocation(), in EmitCurrentDiagnostic()941 PartialDiagnostic(DiagInfo, Context.getDiagAllocator())); in EmitCurrentDiagnostic()964 Diagnostic DiagInfo(&Diags); in EmitCurrentDiagnostic() local965 (*Info)->addSFINAEDiagnostic(DiagInfo.getLocation(), in EmitCurrentDiagnostic()966 PartialDiagnostic(DiagInfo, Context.getDiagAllocator())); in EmitCurrentDiagnostic()986 Diagnostic DiagInfo(&Diags); in EmitCurrentDiagnostic() local987 (*Info)->addSuppressedDiagnostic(DiagInfo.getLocation(), in EmitCurrentDiagnostic()988 PartialDiagnostic(DiagInfo, Context.getDiagAllocator())); in EmitCurrentDiagnostic()