Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp55 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()
102 SrcMgrDiagInfo DiagInfo; in EmitInlineAsm() local
110 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()
/external/clang/lib/Basic/
DDiagnosticIDs.cpp260 std::vector<DiagDesc> DiagInfo; member in clang::diag::CustomDiagInfo
267 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()
/external/clang/lib/Sema/
DSema.cpp939 Diagnostic DiagInfo(&Diags); in EmitCurrentDiagnostic() local
940 (*Info)->addSFINAEDiagnostic(DiagInfo.getLocation(), in EmitCurrentDiagnostic()
941 PartialDiagnostic(DiagInfo, Context.getDiagAllocator())); in EmitCurrentDiagnostic()
964 Diagnostic DiagInfo(&Diags); in EmitCurrentDiagnostic() local
965 (*Info)->addSFINAEDiagnostic(DiagInfo.getLocation(), in EmitCurrentDiagnostic()
966 PartialDiagnostic(DiagInfo, Context.getDiagAllocator())); in EmitCurrentDiagnostic()
986 Diagnostic DiagInfo(&Diags); in EmitCurrentDiagnostic() local
987 (*Info)->addSuppressedDiagnostic(DiagInfo.getLocation(), in EmitCurrentDiagnostic()
988 PartialDiagnostic(DiagInfo, Context.getDiagAllocator())); in EmitCurrentDiagnostic()