Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DLLVMContext.cpp117 pImpl->DiagHandler->DiagHandlerCallback = DiagnosticHandler; in setDiagnosticHandlerCallBack()
118 pImpl->DiagHandler->DiagnosticContext = DiagnosticContext; in setDiagnosticHandlerCallBack()
124 pImpl->DiagHandler = std::move(DH); in setDiagnosticHandler()
171 return pImpl->DiagHandler->DiagHandlerCallback; in getDiagnosticHandlerCallBack()
175 return pImpl->DiagHandler->DiagnosticContext; in getDiagnosticContext()
234 if (pImpl->DiagHandler && in diagnose()
236 pImpl->DiagHandler->handleDiagnostics(DI)) in diagnose()
344 return pImpl->DiagHandler.get(); in getDiagHandlerPtr()
348 return std::move(pImpl->DiagHandler); in getDiagnosticHandler()
H A DLLVMContextImpl.cpp25 : DiagHandler(std::make_unique<DiagnosticHandler>()), in LLVMContextImpl()
H A DLLVMContextImpl.h1335 std::unique_ptr<DiagnosticHandler> DiagHandler;
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/LTO/
H A DConfig.h172 DiagnosticHandlerFunction DiagHandler; member
283 LTOLLVMContext(const Config &C) : DiagHandler(C.DiagHandler) { in LTOLLVMContext()
287 std::make_unique<LTOLLVMDiagnosticHandler>(&DiagHandler), true); in LTOLLVMContext()
289 DiagnosticHandlerFunction DiagHandler; member
/netbsd-src/external/apache2/llvm/dist/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp641 assert(DiagHandler && "Invalid diagnostic handler"); in DiagnosticHandler()
642 (*DiagHandler)(Severity, MsgStorage.c_str(), DiagContext); in DiagnosticHandler()
658 LTOCodeGenerator::setDiagnosticHandler(lto_diagnostic_handler_t DiagHandler, in setDiagnosticHandler() argument
660 this->DiagHandler = DiagHandler; in setDiagnosticHandler()
662 if (!DiagHandler) in setDiagnosticHandler()
681 if (DiagHandler) in emitError()
682 (*DiagHandler)(LTO_DS_ERROR, ErrMsg.c_str(), DiagContext); in emitError()
688 if (DiagHandler) in emitWarning()
689 (*DiagHandler)(LTO_DS_WARNING, ErrMsg.c_str(), DiagContext); in emitWarning()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DSourceMgr.h90 DiagHandlerTy DiagHandler = nullptr; variable
110 DiagHandler = DH;
114 DiagHandlerTy getDiagHandler() const { return DiagHandler; } in getDiagHandler()
H A DVirtualFileSystem.h505 llvm::SourceMgr::DiagHandlerTy DiagHandler,
823 SourceMgr::DiagHandlerTy DiagHandler, StringRef YAMLFilePath,
867 llvm::SourceMgr::DiagHandlerTy DiagHandler, StringRef YAMLFilePath,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DYAMLTraits.cpp60 SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) in Input() argument
62 if (DiagHandler) in Input()
63 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input()
68 SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) in Input() argument
70 if (DiagHandler) in Input()
71 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input()
H A DSourceMgr.cpp327 if (DiagHandler) { in PrintMessage()
328 DiagHandler(Diagnostic, DiagContext); in PrintMessage()
H A DVirtualFileSystem.cpp1751 SourceMgr::DiagHandlerTy DiagHandler, in create() argument
1757 SM.setDiagHandler(DiagHandler, DiagContext); in create()
2077 SourceMgr::DiagHandlerTy DiagHandler, in getVFSFromYAML() argument
2080 return RedirectingFileSystem::create(std::move(Buffer), DiagHandler, in getVFSFromYAML()
2122 SourceMgr::DiagHandlerTy DiagHandler, in collectVFSFromYAML() argument
2128 std::move(Buffer), DiagHandler, YAMLFilePath, DiagContext, in collectVFSFromYAML()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCContext.h92 DiagHandlerTy DiagHandler; variable
414 void setDiagnosticHandler(DiagHandlerTy DiagHandler) { in setDiagnosticHandler() argument
415 this->DiagHandler = DiagHandler; in setDiagnosticHandler()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCContext.cpp70 DiagHandler(defaultDiagHandler), MAI(mai), MRI(mri), MSTI(msti), in MCContext()
131 DiagHandler = defaultDiagHandler; in reset()
904 assert(DiagHandler && "MCContext::DiagHandler is not set"); in diagnose()
914 DiagHandler(SMD, UseInlineSrcMgr, *SMP, LocInfos); in diagnose()
945 DiagHandler(D, UseInlineSrcMgr, *SMP, LocInfos); in reportCommon()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSemaInternal.h330 DiagHandler = std::move(other.DiagHandler);
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DLLVMContext.h169 DiagnosticHandler::DiagnosticHandlerTy DiagHandler,
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/LTO/legacy/
H A DLTOCodeGenerator.h233 lto_diagnostic_handler_t DiagHandler = nullptr; member
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Format/
H A DFormat.h3426 llvm::SourceMgr::DiagHandlerTy DiagHandler,
3490 llvm::SourceMgr::DiagHandlerTy DiagHandler = nullptr,
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp239 Conf.DiagHandler = [](const DiagnosticInfo &DI) { in run()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/TextAPI/
H A DTextStub.cpp1095 static void DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() function
1113 yaml::Input YAMLIn(InputBuffer.getBuffer(), &Ctx, DiagHandler, &Ctx); in get()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/gold/
H A Dgold-plugin.cpp908 Conf.DiagHandler = diagnosticHandler; in createLTO()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DAsmParser.cpp327 static void DiagHandler(const SMDiagnostic &Diag, void *Context);
765 SrcMgr.setDiagHandler(DiagHandler, this); in AsmParser()
2426 void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() function in AsmParser
H A DMasmParser.cpp592 static void DiagHandler(const SMDiagnostic &Diag, void *Context);
1027 SrcMgr.setDiagHandler(DiagHandler, this); in MasmParser()
2672 void MasmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() function in MasmParser
/netbsd-src/external/apache2/llvm/dist/clang/lib/Format/
H A DFormat.cpp1429 llvm::SourceMgr::DiagHandlerTy DiagHandler, in parseConfiguration() argument
1438 llvm::yaml::Input Input(Config, /*Ctxt=*/nullptr, DiagHandler, in parseConfiguration()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSema.cpp1013 Typo.second.DiagHandler(TypoCorrection()); in ActOnEndOfTranslationUnitFragment()
H A DSemaExprCXX.cpp8086 if (State.DiagHandler) { in EmitAllDiagnostics()
8100 State.DiagHandler(TC); in EmitAllDiagnostics()
H A DSemaLookup.cpp5489 State.DiagHandler = std::move(TDG); in createDelayedTypo()

12