Searched refs:Err (Results 76 - 100 of 249) sorted by relevance

12345678910

/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/
H A DTestingSupport.cpp92 if (auto Err = sys::fs::openFileForWrite(OutputFilename, FD)) {
93 errs() << "error: " << Err.message() << "\n";
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWindowsResourceDumper.cpp49 if (auto Err = EntryPtr.moveNext(IsEnd))
50 return Err;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-link/
H A Dllvm-link.cpp120 SMDiagnostic Err; local
125 Result = parseIRFile(FN, Err, Context);
127 Result = getLazyIRFileModule(FN, Err, Context, !MaterializeMetadata);
130 Err.print(argv0, errs());
323 bool Err = false; local
325 Err = L.linkInModule(
332 Err = L.linkInModule(std::move(M), ApplicableFlags);
335 if (Err)
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
H A DUsingDeclarationsSorter.cpp145 auto Err = Fixes->add(tooling::Replacement(SourceMgr, Range, "")); local
146 if (Err) {
148 << llvm::toString(std::move(Err)) << "\n";
169 auto Err = Fixes->add(tooling::Replacement(SourceMgr, Range, Text)); local
170 if (Err) {
172 << llvm::toString(std::move(Err)) << "\n";
H A DTokenAnalyzer.cpp102 auto Err = Result.add(R); local
105 if (Err) {
106 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
H A DNamespaceEndCommentsFixer.cpp132 auto Err = Fixes->add(tooling::Replacement(SourceMgr, Range, EndCommentText)); local
133 if (Err) {
135 << llvm::toString(std::move(Err)) << "\n";
146 auto Err = Fixes->add(tooling::Replacement(SourceMgr, Range, EndCommentText)); local
147 if (Err) {
149 << llvm::toString(std::move(Err)) << "\n";
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DArchive.h42 uint64_t Size, Error *Err);
101 Child(const Archive *Parent, const char *Start, Error *Err);
221 Archive(MemoryBufferRef Source, Error &Err);
239 child_iterator child_begin(Error &Err, bool SkipInternal = true) const;
241 iterator_range<child_iterator> children(Error &Err, argument
243 return make_range(child_begin(Err, SkipInternal), child_end());
H A DError.h81 Error isNotObjectErrorInvalidFileType(llvm::Error Err);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Passes/
H A DPassBuilder.cpp1837 if (auto Err = parseModulePassPipeline(NestedMPM, InnerPipeline,
1839 return Err;
1845 if (auto Err = parseCGSCCPassPipeline(CGPM, InnerPipeline, VerifyEachPass,
1847 return Err;
1853 if (auto Err = parseFunctionPassPipeline(FPM, InnerPipeline,
1855 return Err;
1861 if (auto Err = parseModulePassPipeline(NestedMPM, InnerPipeline,
1863 return Err;
1969 if (auto Err = parseCGSCCPassPipeline(NestedCGPM, InnerPipeline,
1971 return Err;
[all...]
/freebsd-11-stable/contrib/sqlite3/tea/win/
H A Dnmakehlp.c63 pipeinfo Err = {INVALID_HANDLE_VALUE, '\0'}; variable
225 CreatePipe(&Err.pipe, &h, &sa, 0);
286 pipeThreads[1] = CreateThread(NULL, 0, ReadFromPipe, &Err, 0, &threadID);
309 || strstr(Err.buffer, "D4002") != NULL
311 || strstr(Err.buffer, "D9002") != NULL
313 || strstr(Err.buffer, "D2021") != NULL);
360 CreatePipe(&Err.pipe, &h, &sa, 0);
415 pipeThreads[1] = CreateThread(NULL, 0, ReadFromPipe, &Err, 0, &threadID);
437 strstr(Err.buffer, "LNK1117") != NULL ||
439 strstr(Err
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp132 Error Err = Error::success();
133 object::Archive Archive(B.get()->getMemBufferRef(), Err);
134 fatalOpenError(std::move(Err), B->getBufferIdentifier());
136 for (auto &C : Archive.children(Err)) {
142 fatalOpenError(std::move(Err), B->getBufferIdentifier());
208 Error Err = Error::success(); local
209 object::Archive Archive(MB, Err);
210 fatalOpenError(std::move(Err), MB.getBufferIdentifier());
212 for (auto &C : Archive.children(Err)) {
225 fatalOpenError(std::move(Err), M
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DCompileOnDemandLayer.h235 else if (auto Err = Sym.takeError())
236 return std::move(Err);
242 if (auto Err = BaseLayer.removeModule(BLK))
243 return Err;
328 auto Err = I->second.removeModulesFromBaseLayer(BaseLayer); local
330 return Err;
343 else if (auto Err = Sym.takeError())
344 return std::move(Err);
373 if (auto Err = LMResources->StubsMgr->updatePointer(CalledFnName,
375 return Err;
[all...]
H A DRemoteObjectLayer.h170 /// Creates a StringError that contains a copy of Err's log message, then
175 Error teeLog(Error Err) { argument
176 return handleErrors(std::move(Err),
202 } else if (auto Err = Sym.takeError())
203 return teeLog(std::move(Err));
231 if (auto Err = Remote.template callB<ReleaseRemoteSymbol>(Id))
232 ReportError(std::move(Err));
492 if (auto Err = BaseLayer.removeObject(HI->second))
493 return teeLog(std::move(Err));
503 else if (auto Err
[all...]
H A DLazyEmittingLayer.h59 if (auto Err = this->emitToBaseLayer(B))
60 return std::move(Err);
65 else if (auto Err = Sym.takeError())
66 return std::move(Err);
H A DLegacy.h125 } else if (auto Err = Sym.takeError())
126 return std::move(Err);
158 } else if (auto Err = Sym.takeError()) {
159 ES.legacyFailQuery(Query, std::move(Err));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkParser.cpp113 Optional<std::string> Err; member in struct:__anon1970::CParser
121 void handleError(Error E) { Err.emplace(toString(std::move(E))); }
122 bool hasError() const { return Err.hasValue(); }
123 const char *getMessage() const { return Err ? Err->c_str() : nullptr; };
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRefactoringActionRulesInternal.h54 auto Err = findError(std::get<Is>(Values)...); local
55 if (Err)
56 return Consumer.handleError(std::move(Err));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DMachOLinkGraphBuilder.cpp30 if (auto Err = createNormalizedSections())
31 return std::move(Err);
33 if (auto Err = createNormalizedSymbols())
34 return std::move(Err);
36 if (auto Err = graphifyRegularSymbols())
37 return std::move(Err);
39 if (auto Err = graphifySectionsWithCustomParsers())
40 return std::move(Err);
42 if (auto Err = addRelocations())
43 return std::move(Err);
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-as/
H A Dllvm-as.cpp121 SMDiagnostic Err; local
123 InputFilename, Err, Context, nullptr, !DisableVerify, ClDataLayout);
126 Err.print(argv[0], errs());
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DBytesOutputStyle.cpp201 auto &InfoS = Err(File.getPDBInfoStream());
231 auto &DbiS = Err(File.getPDBDbiStream());
242 auto &DbiS = Err(File.getPDBDbiStream());
253 auto &DbiS = Err(File.getPDBDbiStream());
264 auto &DbiS = Err(File.getPDBDbiStream());
275 auto &DbiS = Err(File.getPDBDbiStream());
286 auto &DbiS = Err(File.getPDBDbiStream());
301 auto &Stream = Err(IsTpi ? File.getPDBTpiStream() : File.getPDBIpiStream());
306 auto &Types = Err(initializeTypes(StreamIdx));
362 ExitOnError Err("Unexpecte
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DLineTable.cpp254 llvm::Error Err = parse(Data, BaseAddr, [&](const LineEntry &Row) -> bool { local
258 if (Err)
259 return std::move(Err);
268 llvm::Error Err = parse(Data, BaseAddr, local
280 if (Err)
281 return std::move(Err);
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp599 Error Err = Error::success(); local
600 for (auto &C : OldArchive->children(Err)) {
630 failIfError(std::move(Err));
672 Error Err = Error::success(); local
674 for (auto &Child : Lib.children(Err))
676 failIfError(std::move(Err));
710 Error Err = Error::success(); local
712 for (auto &Child : Lib.children(Err))
714 failIfError(std::move(Err));
788 Error Err local
979 Error Err = Error::success(); local
1041 Error Err = Error::success(); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/lli/
H A Dlli.cpp353 static void reportError(SMDiagnostic Err, const char *ProgName) { argument
354 Err.print(ProgName, errs());
391 SMDiagnostic Err; local
392 std::unique_ptr<Module> Owner = parseIRFile(InputFile, Err, Context);
395 reportError(Err, argv[0]);
475 std::unique_ptr<Module> XMod = parseIRFile(ExtraModules[i], Err, Context);
477 reportError(Err, argv[0]);
492 reportError(Err, argv[0]);
502 reportError(Err, argv[0]);
657 ES.setErrorReporter([&](Error Err) { ExitOnEr
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp713 if (Error Err = IndexCursor.JumpToBit(CurrentPos))
714 return std::move(Err);
727 if (auto Err = parseMetadataStrings(Record, Blob, IndexNextMDString))
728 return std::move(Err);
734 if (Error Err = IndexCursor.JumpToBit(CurrentPos))
735 return std::move(Err);
746 if (Error Err = IndexCursor.JumpToBit(BeginPos + Offset))
747 return std::move(Err);
780 if (Error Err = IndexCursor.JumpToBit(CurrentPos))
781 return std::move(Err);
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParser.h204 for (auto Err : PendingErrors) {
205 printError(Err.Loc, Twine(Err.Msg), Err.Range);

Completed in 319 milliseconds

12345678910