Home
last modified time | relevance | path

Searched refs:getError (Results 1 – 25 of 239) sorted by relevance

12345678910

/llvm-project-15.0.7/llvm/unittests/Support/
H A DVirtualFileSystemTest.cpp71 return S.getError(); in openFileForRead()
952 return !OpenedFrom.getError() && !OpenedTo.getError() &&
968 ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString(); in TEST_F()
971 ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString(); in TEST_F()
974 ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString(); in TEST_F()
981 ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString(); in TEST_F()
985 ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString(); in TEST_F()
987 ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString(); in TEST_F()
1208 ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" in TEST_F()
1215 ASSERT_FALSE(File.getError()) << File.getError() << "\n" in TEST_F()
[all …]
H A DMemoryBufferTest.cpp117 ASSERT_NO_ERROR(MB.getError()); in TEST_F()
145 std::error_code EC = MB.getError(); in TEST_F()
193 ASSERT_NO_ERROR(MB.getError()); in TEST_F()
257 std::error_code EC = Buf.getError(); in testGetOpenFileSlice()
295 std::error_code EC = MB.getError(); in TEST_F()
310 EC = MB2.getError(); in TEST_F()
336 ASSERT_FALSE(MBOrError.getError()); in TEST_F()
347 ASSERT_FALSE(MBOrError.getError()); in TEST_F()
366 ASSERT_FALSE(MBOrError.getError()); in TEST_F()
377 ASSERT_FALSE(MBOrError.getError()); in TEST_F()
[all …]
H A DJSONTest.cpp495 toString(Root.getError())); in TEST()
508 toString(Root.getError())); in TEST()
511 EXPECT_EQ("missing value at CustomStruct.str", toString(Root.getError())); in TEST()
514 EXPECT_EQ("expected string at CustomStruct.str", toString(Root.getError())); in TEST()
518 EXPECT_EQ("expected integer at CustomStruct.int", toString(Root.getError())); in TEST()
522 EXPECT_EQ("expected boolean at CustomStruct.bool", toString(Root.getError())); in TEST()
599 EXPECT_THAT_ERROR(R.getError(), FailedWithMessage("oh no when parsing foo")); in TEST()
601 EXPECT_THAT_ERROR(R.getError(), FailedWithMessage("boom at foo.a[1].c[2]")); in TEST()
603 EXPECT_THAT_ERROR(R.getError(), FailedWithMessage("bam at foo.b.d.e")); in TEST()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DSampleProfReader.cpp445 if (std::error_code EC = Idx.getError()) in readStringIndex()
454 if (std::error_code EC = Idx.getError()) in readStringFromTable()
462 if (std::error_code EC = FName.getError()) in readSampleContextFromTable()
473 if (std::error_code EC = Idx.getError()) in readStringFromTable()
483 if (std::error_code EC = FID.getError()) in readStringFromTable()
497 if (std::error_code EC = Idx.getError()) in readStringFromTable()
727 if (std::error_code EC = Size.getError()) in readFuncOffsetTable()
994 if (std::error_code EC = Size.getError()) in readNameTable()
1009 if (std::error_code EC = Size.getError()) in readMD5NameTable()
1049 if (std::error_code EC = Size.getError()) in readCSNameTableSec()
[all …]
/llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp23 return MaybeFile.getError(); in readFile()
28 return MaybeStat.getError(); in readFile()
33 return MaybeBuffer.getError(); in readFile()
217 return Stat.getError(); in computeAndStoreResult()
219 getOrEmplaceSharedEntryForFilename(Filename, Stat.getError()); in computeAndStoreResult()
234 return &getOrEmplaceSharedEntryForFilename(Filename, TEntry.getError()); in computeAndStoreResult()
249 return MaybeEntry.getError(); in getOrCreateFileSystemEntry()
262 return Result.getError(); in status()
319 return Result.getError(); in openFileForRead()
/llvm-project-15.0.7/lldb/source/Host/linux/
H A DSupport.cpp22 LLDB_LOG(log, "Failed to open {0}: {1}", File, Ret.getError().message()); in getProcFile()
32 LLDB_LOG(log, "Failed to open {0}: {1}", File, Ret.getError().message()); in getProcFile()
42 LLDB_LOG(log, "Failed to open {0}: {1}", File, Ret.getError().message()); in getProcFile()
/llvm-project-15.0.7/bolt/lib/Profile/
H A DDataAggregator.cpp289 if (std::error_code EC = MB.getError()) { in processFileBuildID()
349 if (std::error_code EC = MB.getError()) { in parsePreAggregated()
502 if (std::error_code EC = MB.getError()) { in preprocessProfile()
586 if (std::error_code EC = MB.getError()) { in preprocessProfile()
1023 if (std::error_code EC = Rest.getError()) in parseLBREntry()
1074 if (std::error_code EC = PCRes.getError()) in parseBranchSample()
1116 if (std::error_code EC = Event.getError()) in parseBasicSample()
1158 if (std::error_code EC = Event.getError()) in parseMemSample()
1196 if (std::error_code EC = Res.getError()) in parseLocationOrOffset()
1240 if (std::error_code EC = From.getError()) in parseAggregatedLBREntry()
[all …]
H A DDataReader.cpp342 if (std::error_code EC = MB.getError()) { in parseInput()
962 if (std::error_code EC = Res.getError()) in parseBranchInfo()
968 if (std::error_code EC = Res.getError()) in parseBranchInfo()
974 if (std::error_code EC = MRes.getError()) in parseBranchInfo()
980 if (std::error_code EC = BRes.getError()) in parseBranchInfo()
995 if (std::error_code EC = Res.getError()) in parseMemInfo()
1001 if (std::error_code EC = Res.getError()) in parseMemInfo()
1021 if (std::error_code EC = Res.getError()) in parseSampleInfo()
1027 if (std::error_code EC = BRes.getError()) in parseSampleInfo()
1185 return FlagOrErr.getError(); in parse()
[all …]
/llvm-project-15.0.7/clang/lib/Basic/
H A DFileSystemStatCache.cpp49 RetCode = StatusOrErr.getError(); in get()
65 RetCode = OwnedFile.getError(); in get()
78 RetCode = StatusOrErr.getError(); in get()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDataExtractor.h57 return getInitialLength(&getOffset(C), &getError(C)); in getInitialLength()
67 return getRelocatedValue(Size, &getOffset(C), SectionIndex, &getError(C));
77 &getError(C));
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DErrorOr.h153 std::error_code getError() const { in getError() function
179 new (getErrorStorage()) std::error_code(Other.getError()); in copyConstruct()
211 new (getErrorStorage()) std::error_code(Other.getError()); in moveConstruct()
267 return Err.getError() == Code;
/llvm-project-15.0.7/llvm/tools/llvm-tapi-diff/
H A Dllvm-tapi-diff.cpp38 if (BufferOrErr.getError()) in convertFileToBinary()
39 return errorCodeToError(BufferOrErr.getError()); in convertFileToBinary()
/llvm-project-15.0.7/llvm/tools/llvm-cxxmap/
H A Dllvm-cxxmap.cpp149 exitWithErrorCode(OldSymbolBufOrError.getError(), OldSymbolFile); in main()
153 exitWithErrorCode(NewSymbolBufOrError.getError(), NewSymbolFile); in main()
157 exitWithErrorCode(RemappingBufOrError.getError(), RemappingFile); in main()
/llvm-project-15.0.7/clang-tools-extra/clangd/benchmarks/
H A DIndexBenchmark.cpp41 << ": " << Buffer.getError().message() << "\n"; in extractQueriesFromLogs()
67 llvm::errs() << llvm::toString(Root.getError()) << "\n"; in extractQueriesFromLogs()
/llvm-project-15.0.7/clang/tools/clang-nvlink-wrapper/
H A DClangNvlinkWrapper.cpp61 if (std::error_code EC = BufOrErr.getError()) in isEmptyFile()
88 if (std::error_code EC = BufOrErr.getError()) in extractArchiveFiles()
194 reportError(createStringError(NvlinkPathErr.getError(), in main()
/llvm-project-15.0.7/libclc/utils/
H A Dprepare-builtins.cpp44 if (std::error_code ec = BufferOrErr.getError()) { in main()
55 if (std::error_code ec = ModuleOrErr.getError()) in main()
/llvm-project-15.0.7/mlir/examples/toy/Ch2/
H A Dtoyc.cpp60 if (std::error_code ec = fileOrErr.getError()) { in parseInputFile()
92 if (std::error_code ec = fileOrErr.getError()) { in dumpMLIR()
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitReader.cpp65 if (ModuleOrErr.getError()) { in LLVMParseBitcodeInContext2()
114 if (ModuleOrErr.getError()) { in LLVMGetBitcodeModuleInContext2()
/llvm-project-15.0.7/clang-tools-extra/clang-apply-replacements/lib/Tooling/
H A DApplyReplacements.cpp63 if (std::error_code BufferError = Out.getError()) { in collectReplacementsFromDirectory()
107 if (std::error_code BufferError = Out.getError()) { in collectReplacementsFromDirectory()
270 return errorCodeToError(Buffer.getError()); in applyChanges()
/llvm-project-15.0.7/llvm/lib/IRReader/
H A DIRReader.cpp58 if (std::error_code EC = FileOrErr.getError()) { in getLazyIRFileModule()
96 if (std::error_code EC = FileOrErr.getError()) { in parseIRFile()
/llvm-project-15.0.7/mlir/examples/toy/Ch3/
H A Dtoyc.cpp64 if (std::error_code ec = fileOrErr.getError()) { in parseInputFile()
89 if (std::error_code ec = fileOrErr.getError()) { in loadMLIR()
/llvm-project-15.0.7/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h105 std::error_code getError() const { return MaybeStat.getError(); } in getError() function
260 return Entry.getError(); in unwrapError()
/llvm-project-15.0.7/lld/include/lld/Common/
H A DErrorHandler.h163 if (auto ec = e.getError()) in check()
183 if (auto ec = e.getError()) in check2()
/llvm-project-15.0.7/mlir/examples/toy/Ch4/
H A Dtoyc.cpp65 if (std::error_code ec = fileOrErr.getError()) { in parseInputFile()
90 if (std::error_code ec = fileOrErr.getError()) { in loadMLIR()
/llvm-project-15.0.7/llvm/lib/Support/
H A DVirtualFileSystem.cpp123 return F.getError(); in getBufferForFile()
134 return WorkingDir.getError(); in makeAbsolute()
1049 return Node.getError(); in status()
1056 return Node.getError(); in openFileForRead()
1126 EC = Node.getError(); in dir_begin()
1357 return WorkingDir.getError(); in makeAbsolute()
1400 EC = Result.getError(); in dir_begin()
1411 EC = S.getError(); in dir_begin()
2327 return Result.getError(); in status()
2409 return Result.getError(); in openFileForRead()
[all …]

12345678910