| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | LLVMContext.cpp | 130 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 D | LLVMContextImpl.cpp | 37 : DiagHandler(std::make_unique<DiagnosticHandler>()), in LLVMContextImpl()
|
| H A D | LLVMContextImpl.h | 1452 std::unique_ptr<DiagnosticHandler> DiagHandler;
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/LTO/ |
| H A D | Config.h | 184 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 D | LTOCodeGenerator.cpp | 730 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 D | APINotesYAMLCompiler.cpp | 649 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 D | SourceMgr.h | 90 DiagHandlerTy DiagHandler = nullptr; variable 113 DiagHandler = DH; 117 DiagHandlerTy getDiagHandler() const { return DiagHandler; } in getDiagHandler()
|
| H A D | VirtualFileSystem.h | 620 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 D | APINotesYAMLCompiler.h | 30 llvm::SourceMgr::DiagHandlerTy DiagHandler = nullptr,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | YAMLTraits.cpp | 59 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 D | SourceMgr.cpp | 338 if (DiagHandler) { in PrintMessage() 339 DiagHandler(Diagnostic, DiagContext); in PrintMessage()
|
| H A D | VirtualFileSystem.cpp | 2133 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 D | MCContext.h | 110 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 D | Multilib.cpp | 287 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 D | SemaInternal.h | 330 DiagHandler = std::move(other.DiagHandler);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCContext.cpp | 71 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 D | LLVMContext.h | 171 DiagnosticHandler::DiagnosticHandlerTy DiagHandler,
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/LTO/legacy/ |
| H A D | LTOCodeGenerator.h | 239 lto_diagnostic_handler_t DiagHandler = nullptr; member
|
| /freebsd-14.2/contrib/llvm-project/lld/MachO/ |
| H A D | LTO.cpp | 50 c.DiagHandler = diagnosticHandler; in createConfig()
|
| /freebsd-14.2/contrib/llvm-project/lld/COFF/ |
| H A D | LTO.cpp | 75 c.DiagHandler = diagnosticHandler; in createConfig()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Format/ |
| H A D | Format.h | 4961 llvm::SourceMgr::DiagHandlerTy DiagHandler, 5027 llvm::SourceMgr::DiagHandlerTy DiagHandler = nullptr,
|
| /freebsd-14.2/contrib/llvm-project/lld/ELF/ |
| H A D | LTO.cpp | 102 c.DiagHandler = diagnosticHandler; in createConfig()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/TextAPI/ |
| H A D | TextStub.cpp | 1060 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 D | llvm-lto2.cpp | 347 Conf.DiagHandler = [&](const DiagnosticInfo &DI) { in run()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 333 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
|