Home
last modified time | relevance | path

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

1234567891011

/llvm-project/llvm/lib/TargetParser/
H A DRISCVISAInfo.cpp321 static Error getError(const Twine &Message) { in getExtensionVersion()
327 return getError("unsupported standard user-level extension '" + ExtName + in getExtensionVersion()
330 return getError("unsupported " + getExtensionTypeDesc(ExtName) + " '" + in getExtensionVersion()
356 return getError("minor version number missing after 'p' for extension '" + in getExtensionVersion()
362 return getError("Failed to parse major version number for extension '" + in getExtensionVersion()
366 return getError("Failed to parse minor version number for extension '" + in getExtensionVersion()
378 return getError( in getExtensionVersion()
384 return getError("requires '-menable-experimental-extensions' " in getExtensionVersion()
390 return getError( in getExtensionVersion()
403 return getError(Erro in parseFeatures()
283 static Error getError(const Twine &Message) { getError() function
[all...]
/llvm-project/llvm/unittests/Support/
H A DVirtualFileSystemTest.cpp74 return S.getError(); in openFileForRead()
233 ASSERT_FALSE(Status.getError()); in TEST()
243 ASSERT_FALSE(Status.getError()); in TEST()
253 ASSERT_FALSE(Status.getError()); in TEST()
263 ASSERT_FALSE(Status2.getError()); in TEST()
277 EXPECT_FALSE(Status.getError()); in TEST()
281 EXPECT_FALSE(Status2.getError()); in TEST()
330 ASSERT_FALSE(StatusB.getError()); in TEST()
332 ASSERT_FALSE(Status1.getError()); in TEST()
335 ASSERT_FALSE(StatusM.getError()); in TEST()
[all...]
H A DMemoryBufferTest.cpp118 ASSERT_NO_ERROR(MB.getError()); in TEST_F()
127 ASSERT_ERROR(MemoryBuffer::getOpenFile(*File, TestPath, 6).getError()); in TEST_F()
146 std::error_code EC = MB.getError(); in TEST_F()
198 ASSERT_NO_ERROR(MB.getError()); in TEST_F()
278 std::error_code EC = Buf.getError(); in testGetOpenFileSlice()
316 std::error_code EC = MB.getError(); in TEST_F()
331 EC = MB2.getError(); in TEST_F()
357 ASSERT_FALSE(MBOrError.getError()); in TEST_F()
368 ASSERT_FALSE(MBOrError.getError()); in TEST_F()
387 ASSERT_FALSE(MBOrError.getError()); in TEST_F()
[all...]
H A DJSONTest.cpp532 toString(Root.getError())); in TEST()
545 toString(Root.getError())); in TEST()
548 EXPECT_EQ("missing value at CustomStruct.str", toString(Root.getError())); in TEST()
551 EXPECT_EQ("expected string at CustomStruct.str", toString(Root.getError())); in TEST()
555 EXPECT_EQ("expected integer at CustomStruct.int", toString(Root.getError())); in TEST()
559 EXPECT_EQ("expected boolean at CustomStruct.bool", toString(Root.getError())); in TEST()
636 EXPECT_THAT_ERROR(R.getError(), FailedWithMessage("oh no when parsing foo")); in TEST()
638 EXPECT_THAT_ERROR(R.getError(), FailedWithMessage("boom at foo.a[1].c[2]")); in TEST()
640 EXPECT_THAT_ERROR(R.getError(), FailedWithMessage("bam at foo.b.d.e")); in TEST()
/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp539 if (std::error_code EC = Idx.getError()) in readContextFromTable()
549 if (std::error_code EC = Idx.getError()) in readSampleContextFromTable()
559 if (std::error_code EC = ContextIdx.getError()) in readSampleContextFromTable()
574 if (std::error_code EC = FContext.getError()) in readProfile()
579 if (std::error_code EC = FName.getError()) in readProfile()
600 if (std::error_code EC = NumSamples.getError()) in readProfile()
606 if (std::error_code EC = NumRecords.getError()) in readProfile()
611 if (std::error_code EC = LineOffset.getError()) in readProfile()
619 if (std::error_code EC = Discriminator.getError()) in readProfile()
623 if (std::error_code EC = NumSamples.getError()) in readProfile()
[all...]
/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp24 return MaybeFile.getError(); in readFile()
29 return MaybeStat.getError(); in readFile()
34 return MaybeBuffer.getError(); in readFile()
193 return RealPath.getError(); in getOrEmplaceRealPathForFilename()
245 getOrEmplaceSharedEntryForFilename(FilenameForLookup, Stat.getError()); in computeAndStoreResult()
261 TEntry.getError()); in computeAndStoreResult()
273 return FilenameForLookup.getError(); in getOrCreateFileSystemEntry()
280 return MaybeEntry.getError(); in getOrCreateFileSystemEntry()
294 return Result.getError(); in status()
365 return Result.getError(); in openFileForRead()
[all...]
/llvm-project/bolt/lib/Profile/
H A DDataAggregator.cpp292 if (std::error_code EC = MB.getError()) { in processFileBuildID()
357 if (std::error_code EC = MB.getError()) { in parsePreAggregated()
432 if (std::error_code EC = MB.getError()) { in writeAutoFDOData()
991 if (std::error_code EC = FromStrRes.getError())
1001 if (std::error_code EC = ToStrRes.getError()) in recordExit()
1011 if (std::error_code EC = MispredStrRes.getError()) in parseLBREntry()
1029 if (std::error_code EC = Rest.getError()) in parseLBREntry()
1072 if (std::error_code EC = PIDRes.getError()) in consumeRestOfLine()
1087 if (std::error_code EC = LBRRes.getError()) in parseBranchSample()
1105 if (std::error_code EC = PIDRes.getError()) in parseBranchSample()
[all...]
H A DDataReader.cpp332 if (std::error_code EC = MB.getError()) { in parseInput()
880 if (std::error_code EC = NumStrRes.getError()) in parseNumberField()
894 if (std::error_code EC = NumStrRes.getError()) in parseHexField()
937 if (std::error_code EC = NameRes.getError()) in parseLocation()
944 if (std::error_code EC = Offset.getError()) in parseLocation()
952 if (std::error_code EC = Res.getError()) in parseBranchInfo()
958 if (std::error_code EC = Res.getError()) in parseBranchInfo()
964 if (std::error_code EC = MRes.getError()) in parseBranchInfo()
970 if (std::error_code EC = BRes.getError()) in parseBranchInfo()
985 if (std::error_code EC = Res.getError()) in parseMemInfo()
[all …]
/llvm-project/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/clang/lib/Basic/
H A DFileSystemStatCache.cpp50 RetCode = StatusOrErr.getError(); in get()
67 RetCode = OwnedFile.getError(); in get()
80 RetCode = StatusOrErr.getError(); in get()
/llvm-project/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/llvm/include/llvm/Support/
H A DErrorOr.h152 std::error_code getError() const { in getError() function
178 new (getErrorStorage()) std::error_code(Other.getError()); in copyConstruct()
210 new (getErrorStorage()) std::error_code(Other.getError()); in moveConstruct()
266 return Err.getError() == Code;
/llvm-project/llvm/tools/llvm-cxxmap/
H A Dllvm-cxxmap.cpp150 exitWithErrorCode(OldSymbolBufOrError.getError(), OldSymbolFile); in main()
155 exitWithErrorCode(NewSymbolBufOrError.getError(), NewSymbolFile); in main()
160 exitWithErrorCode(RemappingBufOrError.getError(), RemappingFile); in main()
/llvm-project/lldb/source/Plugins/Process/Linux/
H A DProcfs.cpp27 cpu_info_or_err.getError(); in GetProcfsCpuInfo()
78 return errorCodeToError(ptrace_scope_file.getError()); in GetPtraceScope()
/llvm-project/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/llvm/lib/Support/
H A DVirtualFileSystem.cpp123 return F.getError(); in getBufferForFile()
134 return WorkingDir.getError(); in makeAbsolute()
157 return StatusA.getError(); in equivalent()
160 return StatusB.getError(); in equivalent()
352 return WD->getError(); in setCurrentWorkingDirectory()
457 if (Status || Status.getError() != llvm::errc::no_such_file_or_directory) in exists()
477 if (Result || Result.getError() != llvm::errc::no_such_file_or_directory)
1084 return Node.getError(); in openFileForRead()
1091 return Node.getError();
1161 EC = Node.getError(); in setCurrentWorkingDirectory()
[all...]
H A DCaching.cpp61 EC = MBOrErr.getError(); in localCache()
106 MBOrErr.getError().message() + "\n"); in localCache()
/llvm-project/lldb/source/Plugins/ObjectFile/JSON/
H A DObjectFileJSON.cpp75 LLDB_LOG_ERROR(log, root.getError(), in CreateInstance()
87 LLDB_LOG_ERROR(log, root.getError(), in CreateInstance()
133 LLDB_LOG_ERROR(log, root.getError(), in GetModuleSpecifications()
/llvm-project/mlir/examples/toy/Ch2/
H A Dtoyc.cpp64 if (std::error_code ec = fileOrErr.getError()) { in parseInputFile()
96 if (std::error_code ec = fileOrErr.getError()) { in dumpMLIR()
/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitReader.cpp65 if (ModuleOrErr.getError()) { in LLVMParseBitcodeInContext2()
114 if (ModuleOrErr.getError()) { in LLVMGetBitcodeModuleInContext2()
/llvm-project/llvm/lib/IRReader/
H A DIRReader.cpp59 if (std::error_code EC = FileOrErr.getError()) { in getLazyIRFileModule()
99 if (std::error_code EC = FileOrErr.getError()) { in parseIRFile()
/llvm-project/mlir/examples/toy/Ch3/
H A Dtoyc.cpp70 if (std::error_code ec = fileOrErr.getError()) { in parseInputFile()
95 if (std::error_code ec = fileOrErr.getError()) { in loadMLIR()
/llvm-project/llvm/lib/AsmParser/
H A DParser.cpp65 if (std::error_code EC = FileOrErr.getError()) { in parseAssemblyFile()
108 if (std::error_code EC = FileOrErr.getError()) { in parseAssemblyFileWithIndex()
173 if (std::error_code EC = FileOrErr.getError()) { in parseSummaryIndexAssemblyFile()
/llvm-project/mlir/examples/toy/Ch4/
H A Dtoyc.cpp71 if (std::error_code ec = fileOrErr.getError()) { in parseInputFile()
96 if (std::error_code ec = fileOrErr.getError()) { in loadMLIR()
/llvm-project/lld/include/lld/Common/
H A DErrorHandler.h182 if (auto ec = e.getError()) in check2()
202 if (auto ec = e.getError())

1234567891011