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

12

/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/LTO/
H A DConfig.h172 DiagnosticHandlerFunction DiagHandler; member in struct:llvm::lto::Config
283 LTOLLVMContext(const Config &C) : DiagHandler(C.DiagHandler) {
287 std::make_unique<LTOLLVMDiagnosticHandler>(&DiagHandler), true);
289 DiagnosticHandlerFunction DiagHandler; member in struct:llvm::lto::LTOLLVMContext
/netbsd-current/external/apache2/llvm/dist/llvm/lib/IR/
H A DLLVMContext.cpp117 pImpl->DiagHandler->DiagHandlerCallback = DiagnosticHandler;
118 pImpl->DiagHandler->DiagnosticContext = DiagnosticContext;
124 pImpl->DiagHandler = std::move(DH);
171 return pImpl->DiagHandler->DiagHandlerCallback;
175 return pImpl->DiagHandler->DiagnosticContext;
234 if (pImpl->DiagHandler &&
236 pImpl->DiagHandler->handleDiagnostics(DI))
344 return pImpl->DiagHandler.get();
348 return std::move(pImpl->DiagHandler);
H A DLLVMContextImpl.cpp25 : DiagHandler(std::make_unique<DiagnosticHandler>()),
H A DLLVMContextImpl.h1335 std::unique_ptr<DiagnosticHandler> DiagHandler; member in class:llvm::LLVMContextImpl
/netbsd-current/external/apache2/llvm/dist/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp641 assert(DiagHandler && "Invalid diagnostic handler");
642 (*DiagHandler)(Severity, MsgStorage.c_str(), DiagContext);
658 LTOCodeGenerator::setDiagnosticHandler(lto_diagnostic_handler_t DiagHandler, argument
660 this->DiagHandler = DiagHandler;
662 if (!DiagHandler)
665 // diagnostic to the external DiagHandler.
681 if (DiagHandler)
682 (*DiagHandler)(LTO_DS_ERROR, ErrMsg.c_str(), DiagContext);
688 if (DiagHandler)
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DSourceMgr.h90 DiagHandlerTy DiagHandler = nullptr; member in class:llvm::SourceMgr
110 DiagHandler = DH;
114 DiagHandlerTy getDiagHandler() const { return DiagHandler; }
H A DVirtualFileSystem.h505 llvm::SourceMgr::DiagHandlerTy DiagHandler,
823 SourceMgr::DiagHandlerTy DiagHandler, StringRef YAMLFilePath,
867 llvm::SourceMgr::DiagHandlerTy DiagHandler, StringRef YAMLFilePath,
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Support/
H A DYAMLTraits.cpp60 SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt)
62 if (DiagHandler)
63 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt);
68 SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt)
70 if (DiagHandler)
71 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt);
59 Input(StringRef InputContent, void *Ctxt, SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) argument
67 Input(MemoryBufferRef Input, void *Ctxt, SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) argument
H A DSourceMgr.cpp327 if (DiagHandler) {
328 DiagHandler(Diagnostic, DiagContext);
H A DVirtualFileSystem.cpp1751 SourceMgr::DiagHandlerTy DiagHandler,
1757 SM.setDiagHandler(DiagHandler, DiagContext);
2077 SourceMgr::DiagHandlerTy DiagHandler,
2080 return RedirectingFileSystem::create(std::move(Buffer), DiagHandler,
2122 SourceMgr::DiagHandlerTy DiagHandler,
2128 std::move(Buffer), DiagHandler, YAMLFilePath, DiagContext,
1750 create(std::unique_ptr<MemoryBuffer> Buffer, SourceMgr::DiagHandlerTy DiagHandler, StringRef YAMLFilePath, void *DiagContext, IntrusiveRefCntPtr<FileSystem> ExternalFS) argument
2076 getVFSFromYAML(std::unique_ptr<MemoryBuffer> Buffer, SourceMgr::DiagHandlerTy DiagHandler, StringRef YAMLFilePath, void *DiagContext, IntrusiveRefCntPtr<FileSystem> ExternalFS) argument
2121 collectVFSFromYAML(std::unique_ptr<MemoryBuffer> Buffer, SourceMgr::DiagHandlerTy DiagHandler, StringRef YAMLFilePath, SmallVectorImpl<YAMLVFSEntry> &CollectedEntries, void *DiagContext, IntrusiveRefCntPtr<FileSystem> ExternalFS) argument
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DLLVMContext.h163 /// that gets passed into the DiagHandler. The third argument should be set to
169 DiagnosticHandler::DiagnosticHandlerTy DiagHandler,
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/LTO/legacy/
H A DLTOCodeGenerator.h233 lto_diagnostic_handler_t DiagHandler = nullptr; member in struct:llvm::LTOCodeGenerator
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCContext.h92 DiagHandlerTy DiagHandler; member in class:llvm::MCContext
414 void setDiagnosticHandler(DiagHandlerTy DiagHandler) { argument
415 this->DiagHandler = DiagHandler;
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSemaInternal.h330 DiagHandler = std::move(other.DiagHandler);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCContext.cpp70 DiagHandler(defaultDiagHandler), MAI(mai), MRI(mri), MSTI(msti),
131 DiagHandler = defaultDiagHandler;
904 assert(DiagHandler && "MCContext::DiagHandler is not set");
914 DiagHandler(SMD, UseInlineSrcMgr, *SMP, LocInfos);
945 DiagHandler(D, UseInlineSrcMgr, *SMP, LocInfos);
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Format/
H A DFormat.h3426 llvm::SourceMgr::DiagHandlerTy DiagHandler,
3486 /// If set all diagnostics are emitted through the DiagHandler.
3490 llvm::SourceMgr::DiagHandlerTy DiagHandler = nullptr,
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp239 Conf.DiagHandler = [](const DiagnosticInfo &DI) {
/netbsd-current/external/apache2/llvm/dist/llvm/lib/TextAPI/
H A DTextStub.cpp1095 static void DiagHandler(const SMDiagnostic &Diag, void *Context) { function
1113 yaml::Input YAMLIn(InputBuffer.getBuffer(), &Ctx, DiagHandler, &Ctx);
/netbsd-current/external/apache2/llvm/dist/llvm/tools/gold/
H A Dgold-plugin.cpp908 Conf.DiagHandler = diagnosticHandler;
/netbsd-current/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);
2426 void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) { function in class:AsmParser
H A DMasmParser.cpp592 static void DiagHandler(const SMDiagnostic &Diag, void *Context);
1027 SrcMgr.setDiagHandler(DiagHandler, this);
2672 void MasmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) { function in class:MasmParser
/netbsd-current/external/apache2/llvm/dist/clang/lib/Format/
H A DFormat.cpp1429 llvm::SourceMgr::DiagHandlerTy DiagHandler,
1438 llvm::yaml::Input Input(Config, /*Ctxt=*/nullptr, DiagHandler,
1427 parseConfiguration(llvm::MemoryBufferRef Config, FormatStyle *Style, bool AllowUnknownOptions, llvm::SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) argument
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSema.cpp1013 Typo.second.DiagHandler(TypoCorrection());
H A DSemaExprCXX.cpp8086 if (State.DiagHandler) {
8100 State.DiagHandler(TC);
H A DSemaLookup.cpp5489 State.DiagHandler = std::move(TDG);

Completed in 502 milliseconds

12