Home
last modified time | relevance | path

Searched refs:DiagHandler (Results 1 – 18 of 18) sorted by relevance

/external/llvm/lib/LTO/
DLTOCodeGenerator.cpp568 assert(DiagHandler && "Invalid diagnostic handler"); in DiagnosticHandler2()
569 (*DiagHandler)(Severity, MsgStorage.c_str(), DiagContext); in DiagnosticHandler2()
573 LTOCodeGenerator::setDiagnosticHandler(lto_diagnostic_handler_t DiagHandler, in setDiagnosticHandler() argument
575 this->DiagHandler = DiagHandler; in setDiagnosticHandler()
577 if (!DiagHandler) in setDiagnosticHandler()
596 if (DiagHandler) in emitError()
597 (*DiagHandler)(LTO_DS_ERROR, ErrMsg.c_str(), DiagContext); in emitError()
/external/llvm/include/llvm/Support/
DSourceMgr.h71 DiagHandlerTy DiagHandler; variable
80 : LineNoCache(nullptr), DiagHandler(nullptr), DiagContext(nullptr) {} in SourceMgr()
90 DiagHandler = DH;
94 DiagHandlerTy getDiagHandler() const { return DiagHandler; } in getDiagHandler()
DYAMLTraits.h946 SourceMgr::DiagHandlerTy DiagHandler = nullptr,
/external/llvm/include/llvm/IR/
DLLVMContext.h115 void setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler,
134 void setDiagnosticHandler(DiagnosticHandlerTy DiagHandler,
/external/llvm/lib/IR/
DLLVMContext.cpp156 setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler, in setInlineAsmDiagnosticHandler() argument
158 pImpl->InlineAsmDiagHandler = DiagHandler; in setInlineAsmDiagnosticHandler()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp46 LLVMContext::InlineAsmDiagHandlerTy DiagHandler; member
72 DiagInfo->DiagHandler(Diag, DiagInfo->DiagContext, LocCookie); in srcMgrDiagHandler()
112 DiagInfo.DiagHandler = LLVMCtx.getInlineAsmDiagnosticHandler(); in EmitInlineAsm()
/external/clang/include/clang/Sema/
DSemaInternal.h339 DiagHandler = std::move(other.DiagHandler);
DSema.h2721 TypoDiagnosticGenerator DiagHandler; member
/external/llvm/include/llvm/LTO/
DLTOCodeGenerator.h189 lto_diagnostic_handler_t DiagHandler = nullptr; member
/external/llvm/lib/Support/
DSourceMgr.cpp201 if (DiagHandler) { in PrintMessage()
202 DiagHandler(Diagnostic, DiagContext); in PrintMessage()
DYAMLTraits.cpp49 SourceMgr::DiagHandlerTy DiagHandler, in Input() argument
54 if (DiagHandler) in Input()
55 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input()
/external/clang/lib/Basic/
DVirtualFileSystem.cpp837 SourceMgr::DiagHandlerTy DiagHandler, void *DiagContext,
1192 std::unique_ptr<MemoryBuffer> Buffer, SourceMgr::DiagHandlerTy DiagHandler, in create() argument
1198 SM.setDiagHandler(DiagHandler, DiagContext); in create()
1348 SourceMgr::DiagHandlerTy DiagHandler, void *DiagContext, in getVFSFromYAML() argument
1350 return RedirectingFileSystem::create(std::move(Buffer), DiagHandler, in getVFSFromYAML()
/external/clang/lib/CodeGen/
DCodeGenAction.cpp784 auto DiagHandler = [&](const DiagnosticInfo &DI) { in ExecuteAction() local
797 DiagHandler); in ExecuteAction()
/external/clang/include/clang/Basic/
DVirtualFileSystem.h315 llvm::SourceMgr::DiagHandlerTy DiagHandler,
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp304 static void DiagHandler(const SMDiagnostic &Diag, void *Context);
515 SrcMgr.setDiagHandler(DiagHandler, this); in AsmParser()
1844 void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() function in AsmParser
/external/clang/lib/Sema/
DSemaExprCXX.cpp6487 if (State.DiagHandler) { in EmitAllDiagnostics()
6500 State.DiagHandler(TC); in EmitAllDiagnostics()
DSemaLookup.cpp4979 State.DiagHandler = std::move(TDG); in createDelayedTypo()
DSemaExpr.cpp2180 if (State.DiagHandler) in ActOnIdExpression()
2181 State.DiagHandler(BestTC); in ActOnIdExpression()