Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/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.cpp31 : DiagHandler(std::make_unique<DiagnosticHandler>()), in LLVMContextImpl()
H A DLLVMContextImpl.h1335 std::unique_ptr<DiagnosticHandler> DiagHandler;
/freebsd-13.1/contrib/llvm-project/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
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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,
/freebsd-13.1/contrib/llvm-project/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.cpp1752 SourceMgr::DiagHandlerTy DiagHandler, in create() argument
1758 SM.setDiagHandler(DiagHandler, DiagContext); in create()
2078 SourceMgr::DiagHandlerTy DiagHandler, in getVFSFromYAML() argument
2081 return RedirectingFileSystem::create(std::move(Buffer), DiagHandler, in getVFSFromYAML()
2123 SourceMgr::DiagHandlerTy DiagHandler, in collectVFSFromYAML() argument
2129 std::move(Buffer), DiagHandler, YAMLFilePath, DiagContext, in collectVFSFromYAML()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCContext.h93 DiagHandlerTy DiagHandler; variable
417 void setDiagnosticHandler(DiagHandlerTy DiagHandler) { in setDiagnosticHandler() argument
418 this->DiagHandler = DiagHandler; in setDiagnosticHandler()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaInternal.h330 DiagHandler = std::move(other.DiagHandler);
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCContext.cpp72 DiagHandler(defaultDiagHandler), MAI(mai), MRI(mri), MSTI(msti), in MCContext()
133 DiagHandler = defaultDiagHandler; in reset()
919 assert(DiagHandler && "MCContext::DiagHandler is not set"); in diagnose()
929 DiagHandler(SMD, UseInlineSrcMgr, *SMP, LocInfos); in diagnose()
960 DiagHandler(D, UseInlineSrcMgr, *SMP, LocInfos); in reportCommon()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMContext.h169 DiagnosticHandler::DiagnosticHandlerTy DiagHandler,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/LTO/legacy/
H A DLTOCodeGenerator.h233 lto_diagnostic_handler_t DiagHandler = nullptr; member
/freebsd-13.1/contrib/llvm-project/lld/COFF/
H A DLTO.cpp80 c.DiagHandler = diagnosticHandler; in createConfig()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Format/
H A DFormat.h3563 llvm::SourceMgr::DiagHandlerTy DiagHandler,
3627 llvm::SourceMgr::DiagHandlerTy DiagHandler = nullptr,
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DLTO.cpp130 c.DiagHandler = diagnosticHandler; in createConfig()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp239 Conf.DiagHandler = [](const DiagnosticInfo &DI) { in run()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp332 static void DiagHandler(const SMDiagnostic &Diag, void *Context);
768 SrcMgr.setDiagHandler(DiagHandler, this); in AsmParser()
2433 void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() function in AsmParser
H A DMasmParser.cpp610 static void DiagHandler(const SMDiagnostic &Diag, void *Context);
1081 SrcMgr.setDiagHandler(DiagHandler, this); in MasmParser()
2825 void MasmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() function in MasmParser
/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp1476 llvm::SourceMgr::DiagHandlerTy DiagHandler, in parseConfiguration() argument
1485 llvm::yaml::Input Input(Config, /*Ctxt=*/nullptr, DiagHandler, in parseConfiguration()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp1071 Typo.second.DiagHandler(TypoCorrection()); in ActOnEndOfTranslationUnitFragment()
H A DSemaExprCXX.cpp8163 if (State.DiagHandler) { in EmitAllDiagnostics()
8177 State.DiagHandler(TC); in EmitAllDiagnostics()

12