Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContext.cpp130 pImpl->DiagHandler->DiagHandlerCallback = DiagnosticHandler; in setDiagnosticHandlerCallBack()
131 pImpl->DiagHandler->DiagnosticContext = DiagnosticContext; in setDiagnosticHandlerCallBack()
137 pImpl->DiagHandler = std::move(DH); in setDiagnosticHandler()
196 return pImpl->DiagHandler->DiagHandlerCallback; in getDiagnosticHandlerCallBack()
200 return pImpl->DiagHandler->DiagnosticContext; in getDiagnosticContext()
259 if (pImpl->DiagHandler) { in diagnose()
261 pImpl->DiagHandler->HasErrors = true; in diagnose()
263 pImpl->DiagHandler->handleDiagnostics(DI)) in diagnose()
372 return pImpl->DiagHandler.get(); in getDiagHandlerPtr()
376 return std::move(pImpl->DiagHandler); in getDiagnosticHandler()
H A DLLVMContextImpl.cpp37 : DiagHandler(std::make_unique<DiagnosticHandler>()), in LLVMContextImpl()
H A DLLVMContextImpl.h1452 std::unique_ptr<DiagnosticHandler> DiagHandler;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/LTO/
H A DConfig.h184 DiagnosticHandlerFunction DiagHandler; member
299 LTOLLVMContext(const Config &C) : DiagHandler(C.DiagHandler) { in LTOLLVMContext()
303 std::make_unique<LTOLLVMDiagnosticHandler>(&DiagHandler), true); in LTOLLVMContext()
305 DiagnosticHandlerFunction DiagHandler; member
/freebsd-14.2/contrib/llvm-project/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp730 assert(DiagHandler && "Invalid diagnostic handler"); in DiagnosticHandler()
731 (*DiagHandler)(Severity, MsgStorage.c_str(), DiagContext); in DiagnosticHandler()
747 LTOCodeGenerator::setDiagnosticHandler(lto_diagnostic_handler_t DiagHandler, in setDiagnosticHandler() argument
749 this->DiagHandler = DiagHandler; in setDiagnosticHandler()
751 if (!DiagHandler) in setDiagnosticHandler()
770 if (DiagHandler) in emitError()
771 (*DiagHandler)(LTO_DS_ERROR, ErrMsg.c_str(), DiagContext); in emitError()
777 if (DiagHandler) in emitWarning()
778 (*DiagHandler)(LTO_DS_WARNING, ErrMsg.c_str(), DiagContext); in emitWarning()
/freebsd-14.2/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesYAMLCompiler.cpp649 llvm::SourceMgr::DiagHandlerTy DiagHandler; member in __anond39a57731211::YAMLConverter
655 DiagHandler( in emitError()
665 llvm::SourceMgr::DiagHandlerTy DiagHandler, in YAMLConverter() argument
668 DiagHandler(DiagHandler), DiagHandlerCtxt(DiagHandlerCtxt), in YAMLConverter()
1088 llvm::SourceMgr::DiagHandlerTy DiagHandler, in compile() argument
1090 YAMLConverter C(M, SourceFile, OS, DiagHandler, DiagHandlerCtxt); in compile()
1102 llvm::SourceMgr::DiagHandlerTy DiagHandler, in compileAPINotes() argument
1106 if (!DiagHandler) in compileAPINotes()
1107 DiagHandler = &printDiagnostic; in compileAPINotes()
1109 if (parseAPINotes(YAMLInput, TheModule, DiagHandler, DiagHandlerCtxt)) in compileAPINotes()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DSourceMgr.h90 DiagHandlerTy DiagHandler = nullptr; variable
113 DiagHandler = DH;
117 DiagHandlerTy getDiagHandler() const { return DiagHandler; } in getDiagHandler()
H A DVirtualFileSystem.h620 llvm::SourceMgr::DiagHandlerTy DiagHandler,
1013 SourceMgr::DiagHandlerTy DiagHandler, StringRef YAMLFilePath,
1061 llvm::SourceMgr::DiagHandlerTy DiagHandler, StringRef YAMLFilePath,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/APINotes/
H A DAPINotesYAMLCompiler.h30 llvm::SourceMgr::DiagHandlerTy DiagHandler = nullptr,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DYAMLTraits.cpp59 SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) in Input() argument
61 if (DiagHandler) in Input()
62 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input()
67 SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) in Input() argument
69 if (DiagHandler) in Input()
70 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input()
H A DSourceMgr.cpp338 if (DiagHandler) { in PrintMessage()
339 DiagHandler(Diagnostic, DiagContext); in PrintMessage()
H A DVirtualFileSystem.cpp2133 SourceMgr::DiagHandlerTy DiagHandler, in create() argument
2139 SM.setDiagHandler(DiagHandler, DiagContext); in create()
2571 SourceMgr::DiagHandlerTy DiagHandler, in getVFSFromYAML() argument
2574 return RedirectingFileSystem::create(std::move(Buffer), DiagHandler, in getVFSFromYAML()
2616 SourceMgr::DiagHandlerTy DiagHandler, in collectVFSFromYAML() argument
2622 std::move(Buffer), DiagHandler, YAMLFilePath, DiagContext, in collectVFSFromYAML()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCContext.h110 DiagHandlerTy DiagHandler; variable
440 void setDiagnosticHandler(DiagHandlerTy DiagHandler) { in setDiagnosticHandler() argument
441 this->DiagHandler = DiagHandler; in setDiagnosticHandler()
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/
H A DMultilib.cpp287 llvm::SourceMgr::DiagHandlerTy DiagHandler, in LLVM_YAML_IS_SEQUENCE_VECTOR()
290 llvm::yaml::Input YamlInput(Input, nullptr, DiagHandler, DiagHandlerCtxt); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaInternal.h330 DiagHandler = std::move(other.DiagHandler);
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCContext.cpp71 SrcMgr(mgr), InlineSrcMgr(nullptr), DiagHandler(defaultDiagHandler), in MCContext()
138 DiagHandler = defaultDiagHandler; in reset()
1020 assert(DiagHandler && "MCContext::DiagHandler is not set"); in diagnose()
1030 DiagHandler(SMD, UseInlineSrcMgr, *SMP, LocInfos); in diagnose()
1061 DiagHandler(D, UseInlineSrcMgr, *SMP, LocInfos); in reportCommon()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMContext.h171 DiagnosticHandler::DiagnosticHandlerTy DiagHandler,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/LTO/legacy/
H A DLTOCodeGenerator.h239 lto_diagnostic_handler_t DiagHandler = nullptr; member
/freebsd-14.2/contrib/llvm-project/lld/MachO/
H A DLTO.cpp50 c.DiagHandler = diagnosticHandler; in createConfig()
/freebsd-14.2/contrib/llvm-project/lld/COFF/
H A DLTO.cpp75 c.DiagHandler = diagnosticHandler; in createConfig()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Format/
H A DFormat.h4961 llvm::SourceMgr::DiagHandlerTy DiagHandler,
5027 llvm::SourceMgr::DiagHandlerTy DiagHandler = nullptr,
/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DLTO.cpp102 c.DiagHandler = diagnosticHandler; in createConfig()
/freebsd-14.2/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStub.cpp1060 static void DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() function
1116 yaml::Input YAMLIn(InputBuffer.getBuffer(), &Ctx, DiagHandler, &Ctx); in get()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp347 Conf.DiagHandler = [&](const DiagnosticInfo &DI) { in run()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp333 static void DiagHandler(const SMDiagnostic &Diag, void *Context);
781 SrcMgr.setDiagHandler(DiagHandler, this); in AsmParser()
2444 void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() function in AsmParser

12