Home
last modified time | relevance | path

Searched refs:DiagInfo (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp50 SrcMgrDiagInfo *DiagInfo = static_cast<SrcMgrDiagInfo *>(diagInfo); in srcMgrDiagHandler() local
51 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() local
97 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()
/external/clang/lib/Basic/
DDiagnosticIDs.cpp276 std::vector<DiagDesc> DiagInfo; member in clang::diag::CustomDiagInfo
283 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()
/external/clang/lib/Sema/
DSema.cpp856 Diagnostic DiagInfo(&Diags); in EmitCurrentDiagnostic() local
857 (*Info)->addSFINAEDiagnostic(DiagInfo.getLocation(), in EmitCurrentDiagnostic()
858 PartialDiagnostic(DiagInfo, Context.getDiagAllocator())); in EmitCurrentDiagnostic()
881 Diagnostic DiagInfo(&Diags); in EmitCurrentDiagnostic() local
882 (*Info)->addSFINAEDiagnostic(DiagInfo.getLocation(), in EmitCurrentDiagnostic()
883 PartialDiagnostic(DiagInfo, Context.getDiagAllocator())); in EmitCurrentDiagnostic()
903 Diagnostic DiagInfo(&Diags); in EmitCurrentDiagnostic() local
904 (*Info)->addSuppressedDiagnostic(DiagInfo.getLocation(), in EmitCurrentDiagnostic()
905 PartialDiagnostic(DiagInfo, Context.getDiagAllocator())); in EmitCurrentDiagnostic()