Searched refs:DiagInfo (Results 1 – 2 of 2) sorted by relevance
45 AsmPrinter::SrcMgrDiagInfo *DiagInfo = in srcMgrDiagHandler() local47 assert(DiagInfo && "Diagnostic context not passed down?"); in srcMgrDiagHandler()50 unsigned BufNum = DiagInfo->SrcMgr.FindBufferContainingLoc(Diag.getLoc()); in srcMgrDiagHandler()52 if (BufNum > 0 && BufNum <= DiagInfo->LocInfos.size()) in srcMgrDiagHandler()53 LocInfo = DiagInfo->LocInfos[BufNum-1]; in srcMgrDiagHandler()69 DiagInfo->DiagHandler(Diag, DiagInfo->DiagContext, LocCookie); in srcMgrDiagHandler()74 if (!DiagInfo) { in addInlineAsmDiagBuffer()75 DiagInfo = std::make_unique<SrcMgrDiagInfo>(); in addInlineAsmDiagBuffer()78 Context.setInlineSourceManager(&DiagInfo->SrcMgr); in addInlineAsmDiagBuffer()82 DiagInfo->DiagHandler = LLVMCtx.getInlineAsmDiagnosticHandler(); in addInlineAsmDiagBuffer()[all …]
190 mutable std::unique_ptr<SrcMgrDiagInfo> DiagInfo; variable