Searched refs:DiagInfo (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinterInlineAsm.cpp | 47 AsmPrinter::SrcMgrDiagInfo *DiagInfo = in srcMgrDiagHandler() local 49 assert(DiagInfo && "Diagnostic context not passed down?"); in srcMgrDiagHandler() 52 unsigned BufNum = DiagInfo->SrcMgr.FindBufferContainingLoc(Diag.getLoc()); in srcMgrDiagHandler() 54 if (BufNum > 0 && BufNum <= DiagInfo->LocInfos.size()) in srcMgrDiagHandler() 55 LocInfo = DiagInfo->LocInfos[BufNum-1]; in srcMgrDiagHandler() 71 DiagInfo->DiagHandler(Diag, DiagInfo->DiagContext, LocCookie); in srcMgrDiagHandler() 101 if (!DiagInfo) { in EmitInlineAsm() 102 DiagInfo = make_unique<SrcMgrDiagInfo>(); in EmitInlineAsm() 105 Context.setInlineSourceManager(&DiagInfo->SrcMgr); in EmitInlineAsm() 109 DiagInfo->DiagHandler = LLVMCtx.getInlineAsmDiagnosticHandler(); in EmitInlineAsm() [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinterInlineAsm.cpp | 55 SrcMgrDiagInfo *DiagInfo = static_cast<SrcMgrDiagInfo *>(diagInfo); in srcMgrDiagHandler() local 56 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() 103 SrcMgrDiagInfo DiagInfo; in EmitInlineAsm() local 111 DiagInfo.LocInfo = LocMDNode; in EmitInlineAsm() 112 DiagInfo.DiagHandler = LLVMCtx.getInlineAsmDiagnosticHandler(); in EmitInlineAsm() 113 DiagInfo.DiagContext = LLVMCtx.getInlineAsmDiagnosticContext(); in EmitInlineAsm() 114 SrcMgr.setDiagHandler(srcMgrDiagHandler, &DiagInfo); in EmitInlineAsm()
|
/external/clang/lib/Basic/ |
D | DiagnosticIDs.cpp | 256 std::vector<DiagDesc> DiagInfo; member in clang::diag::CustomDiagInfo 263 assert(DiagID - DIAG_UPPER_LIMIT < DiagInfo.size() && in getDescription() 265 return DiagInfo[DiagID-DIAG_UPPER_LIMIT].second; in getDescription() 270 assert(DiagID - DIAG_UPPER_LIMIT < DiagInfo.size() && in getLevel() 272 return DiagInfo[DiagID-DIAG_UPPER_LIMIT].first; in getLevel() 284 unsigned ID = DiagInfo.size()+DIAG_UPPER_LIMIT; in getOrCreateDiagID() 286 DiagInfo.push_back(D); in getOrCreateDiagID()
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 982 Diagnostic DiagInfo(&Diags); in EmitCurrentDiagnostic() local 983 (*Info)->addSFINAEDiagnostic(DiagInfo.getLocation(), in EmitCurrentDiagnostic() 984 PartialDiagnostic(DiagInfo, Context.getDiagAllocator())); in EmitCurrentDiagnostic() 1007 Diagnostic DiagInfo(&Diags); in EmitCurrentDiagnostic() local 1008 (*Info)->addSFINAEDiagnostic(DiagInfo.getLocation(), in EmitCurrentDiagnostic() 1009 PartialDiagnostic(DiagInfo, Context.getDiagAllocator())); in EmitCurrentDiagnostic() 1029 Diagnostic DiagInfo(&Diags); in EmitCurrentDiagnostic() local 1030 (*Info)->addSuppressedDiagnostic(DiagInfo.getLocation(), in EmitCurrentDiagnostic() 1031 PartialDiagnostic(DiagInfo, Context.getDiagAllocator())); in EmitCurrentDiagnostic()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | AsmPrinter.h | 176 mutable std::unique_ptr<SrcMgrDiagInfo> DiagInfo; variable
|