| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | VirtualFileSystemTest.cpp | 71 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 D | MemoryBufferTest.cpp | 117 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 D | JSONTest.cpp | 495 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 D | SampleProfReader.cpp | 445 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 D | DependencyScanningFilesystem.cpp | 23 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 D | Support.cpp | 22 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 D | DataAggregator.cpp | 289 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 D | DataReader.cpp | 342 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 D | FileSystemStatCache.cpp | 49 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 D | DWARFDataExtractor.h | 57 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 D | ErrorOr.h | 153 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 D | llvm-tapi-diff.cpp | 38 if (BufferOrErr.getError()) in convertFileToBinary() 39 return errorCodeToError(BufferOrErr.getError()); in convertFileToBinary()
|
| /llvm-project-15.0.7/llvm/tools/llvm-cxxmap/ |
| H A D | llvm-cxxmap.cpp | 149 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 D | IndexBenchmark.cpp | 41 << ": " << 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 D | ClangNvlinkWrapper.cpp | 61 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 D | prepare-builtins.cpp | 44 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 D | toyc.cpp | 60 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 D | BitReader.cpp | 65 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 D | ApplyReplacements.cpp | 63 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 D | IRReader.cpp | 58 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 D | toyc.cpp | 64 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 D | DependencyScanningFilesystem.h | 105 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 D | ErrorHandler.h | 163 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 D | toyc.cpp | 65 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 D | VirtualFileSystem.cpp | 123 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 …]
|