| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | LLVMContext.cpp | 122 pImpl->DiagHandler->DiagHandlerCallback = DiagnosticHandler; in setDiagnosticHandlerCallBack() 123 pImpl->DiagHandler->DiagnosticContext = DiagnosticContext; in setDiagnosticHandlerCallBack() 129 pImpl->DiagHandler = std::move(DH); in setDiagnosticHandler() 188 return pImpl->DiagHandler->DiagHandlerCallback; in getDiagnosticHandlerCallBack() 192 return pImpl->DiagHandler->DiagnosticContext; in getDiagnosticContext() 251 if (pImpl->DiagHandler) { in diagnose() 253 pImpl->DiagHandler->HasErrors = true; in diagnose() 255 pImpl->DiagHandler->handleDiagnostics(DI)) in diagnose() 358 return pImpl->DiagHandler.get(); in getDiagHandlerPtr() 362 return std::move(pImpl->DiagHandler); in getDiagnosticHandler()
|
| H A D | LLVMContextImpl.cpp | 33 : DiagHandler(std::make_unique<DiagnosticHandler>()), in LLVMContextImpl()
|
| H A D | LLVMContextImpl.h | 1647 std::unique_ptr<DiagnosticHandler> DiagHandler;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/LTO/ |
| H A D | Config.h | 187 DiagnosticHandlerFunction DiagHandler; member 302 LTOLLVMContext(const Config &C) : DiagHandler(C.DiagHandler) { in LTOLLVMContext() 306 std::make_unique<LTOLLVMDiagnosticHandler>(&DiagHandler), true); in LTOLLVMContext() 308 DiagnosticHandlerFunction DiagHandler; member
|
| /freebsd/contrib/llvm-project/llvm/lib/LTO/ |
| H A D | LTOCodeGenerator.cpp | 709 assert(DiagHandler && "Invalid diagnostic handler"); in DiagnosticHandler() 710 (*DiagHandler)(Severity, MsgStorage.c_str(), DiagContext); in DiagnosticHandler() 726 LTOCodeGenerator::setDiagnosticHandler(lto_diagnostic_handler_t DiagHandler, in setDiagnosticHandler() argument 728 this->DiagHandler = DiagHandler; in setDiagnosticHandler() 730 if (!DiagHandler) in setDiagnosticHandler() 750 if (DiagHandler) in emitError() 751 (*DiagHandler)(LTO_DS_ERROR, ErrMsg.c_str(), DiagContext); in emitError() 757 if (DiagHandler) in emitWarning() 758 (*DiagHandler)(LTO_DS_WARNING, ErrMsg.c_str(), DiagContext); in emitWarning()
|
| /freebsd/contrib/llvm-project/clang/lib/APINotes/ |
| H A D | APINotesYAMLCompiler.cpp | 708 llvm::SourceMgr::DiagHandlerTy DiagHandler; member in __anon10d1463d1311::YAMLConverter 714 DiagHandler( in emitError() 724 llvm::SourceMgr::DiagHandlerTy DiagHandler, in YAMLConverter() argument 727 DiagHandler(DiagHandler), DiagHandlerCtxt(DiagHandlerCtxt), in YAMLConverter() 1205 llvm::SourceMgr::DiagHandlerTy DiagHandler, in compile() argument 1207 YAMLConverter C(M, SourceFile, OS, DiagHandler, DiagHandlerCtxt); in compile() 1219 llvm::SourceMgr::DiagHandlerTy DiagHandler, in compileAPINotes() argument 1223 if (!DiagHandler) in compileAPINotes() 1224 DiagHandler = &printDiagnostic; in compileAPINotes() 1226 if (parseAPINotes(YAMLInput, TheModule, DiagHandler, DiagHandlerCtxt)) in compileAPINotes() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | SourceMgr.h | 91 DiagHandlerTy DiagHandler = nullptr; variable 114 DiagHandler = DH; 118 DiagHandlerTy getDiagHandler() const { return DiagHandler; } in getDiagHandler()
|
| H A D | VirtualFileSystem.h | 665 llvm::SourceMgr::DiagHandlerTy DiagHandler, 1066 SourceMgr::DiagHandlerTy DiagHandler, StringRef YAMLFilePath, 1121 llvm::SourceMgr::DiagHandlerTy DiagHandler, StringRef YAMLFilePath,
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | YAMLTraits.cpp | 58 SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) in Input() argument 60 if (DiagHandler) in Input() 61 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input() 66 SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) in Input() argument 68 if (DiagHandler) in Input() 69 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 | 2177 SourceMgr::DiagHandlerTy DiagHandler, in create() argument 2183 SM.setDiagHandler(DiagHandler, DiagContext); in create() 2665 SourceMgr::DiagHandlerTy DiagHandler, in getVFSFromYAML() argument 2668 return RedirectingFileSystem::create(std::move(Buffer), DiagHandler, in getVFSFromYAML() 2710 SourceMgr::DiagHandlerTy DiagHandler, in collectVFSFromYAML() argument 2716 std::move(Buffer), DiagHandler, YAMLFilePath, DiagContext, in collectVFSFromYAML()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCContext.h | 118 DiagHandlerTy DiagHandler; variable 406 void setDiagnosticHandler(DiagHandlerTy DiagHandler) { in setDiagnosticHandler() argument 407 this->DiagHandler = DiagHandler; in setDiagnosticHandler()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCContext.cpp | 71 SrcMgr(mgr), InlineSrcMgr(nullptr), DiagHandler(defaultDiagHandler), in MCContext() 142 DiagHandler = defaultDiagHandler; in reset() 1115 assert(DiagHandler && "MCContext::DiagHandler is not set"); in diagnose() 1125 DiagHandler(SMD, UseInlineSrcMgr, *SMP, LocInfos); in diagnose() 1156 DiagHandler(D, UseInlineSrcMgr, *SMP, LocInfos); in reportCommon()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/LTO/legacy/ |
| H A D | LTOCodeGenerator.h | 243 lto_diagnostic_handler_t DiagHandler = nullptr; member
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | LLVMContext.h | 181 DiagnosticHandler::DiagnosticHandlerTy DiagHandler,
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ |
| H A D | Multilib.cpp | 480 llvm::SourceMgr::DiagHandlerTy DiagHandler, in parseYaml() argument 483 llvm::yaml::Input YamlInput(Input, nullptr, DiagHandler, DiagHandlerCtxt); in parseYaml()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Format/ |
| H A D | Format.h | 5551 llvm::SourceMgr::DiagHandlerTy DiagHandler, 5617 llvm::SourceMgr::DiagHandlerTy DiagHandler = nullptr, 5787 llvm::SourceMgr::DiagHandlerTy DiagHandler = nullptr);
|
| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | LTO.cpp | 51 c.DiagHandler = diagnosticHandler; in createConfig()
|
| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | LTO.cpp | 69 c.DiagHandler = diagnosticHandler; in createConfig()
|
| /freebsd/contrib/llvm-project/clang/lib/Format/ |
| H A D | Format.cpp | 2115 llvm::SourceMgr::DiagHandlerTy DiagHandler, in parseConfiguration() argument 2124 llvm::yaml::Input Input(Config, /*Ctxt=*/nullptr, DiagHandler, in parseConfiguration() 4210 llvm::SourceMgr::DiagHandlerTy DiagHandler, in loadAndParseConfigFile() argument 4217 DiagHandler, /*DiagHandlerCtx=*/nullptr, in loadAndParseConfigFile() 4228 llvm::SourceMgr::DiagHandlerTy DiagHandler) { in getStyle() argument 4241 AllowUnknownOptions, DiagHandler)) { in getStyle() 4264 DiagHandler, IsDotHFile); in getStyle() 4305 DiagHandler ? DiagHandler : dropDiagnosticHandler); in getStyle() 4340 DiagHandler, IsDotHFile); in getStyle()
|
| /freebsd/contrib/llvm-project/llvm/lib/TextAPI/ |
| H A D | TextStub.cpp | 1059 static void DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() function 1115 yaml::Input YAMLIn(InputBuffer.getBuffer(), &Ctx, DiagHandler, &Ctx); in get()
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | LTO.cpp | 101 c.DiagHandler = diagnosticHandler; in createConfig()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-lto2/ |
| H A D | llvm-lto2.cpp | 399 Conf.DiagHandler = [&](const DiagnosticInfo &DI) { in run()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 319 static void DiagHandler(const SMDiagnostic &Diag, void *Context); 768 SrcMgr.setDiagHandler(DiagHandler, this); in AsmParser() 2383 void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() function in AsmParser
|
| H A D | MasmParser.cpp | 599 static void DiagHandler(const SMDiagnostic &Diag, void *Context); 983 SrcMgr.setDiagHandler(DiagHandler, this); in MasmParser() 2391 void MasmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() function in MasmParser
|