Searched refs:Expected (Results 51 - 75 of 598) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DMatchConsumer.h35 std::function<Expected<T>(const ast_matchers::MatchFinder::MatchResult &)>;
77 llvm::Expected<T> eval(const ast_matchers::MatchFinder::MatchResult &R) const;
94 llvm::Expected<T> MatchComputation<T>::eval(
H A DTransformer.h26 std::function<void(Expected<clang::tooling::AtomicChange> Change)>;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
H A DArchive.cpp66 Expected<StringRef> NameOrErr = getName(Size);
86 Expected<StringRef> NameOrErr = getName(Size);
100 Expected<StringRef> ArchiveMemberHeader::getRawName() const {
128 Expected<StringRef> ArchiveMemberHeader::getName(uint64_t Size) const {
142 Expected<StringRef> NameOrErr = getRawName();
226 Expected<uint64_t> ArchiveMemberHeader::getSize() const {
244 Expected<sys::fs::perms> ArchiveMemberHeader::getAccessMode() const {
262 Expected<sys::TimePoint<std::chrono::seconds>>
283 Expected<unsigned> ArchiveMemberHeader::getUID() const {
302 Expected<unsigne
[all...]
H A DSymbolicFile.cpp37 Expected<std::unique_ptr<SymbolicFile>>
82 Expected<std::unique_ptr<ObjectFile>> Obj =
87 Expected<MemoryBufferRef> BCData =
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DBitstreamRemarkParser.h97 Expected<std::array<char, 4>> parseMagic();
103 Expected<bool> isMetaBlock();
106 Expected<bool> isRemarkBlock();
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.h21 // correctly. It should all be converted to return Expected<> or
25 // Expected<> is considered deprecated and should not be
35 // Expected<>. It should be acceptable for certain operations that
324 llvm::Expected<PythonObject> CallMethod(const char *name,
336 llvm::Expected<PythonObject> Call(const T &... t) const {
345 llvm::Expected<PythonObject> GetAttribute(const llvm::Twine &name) const {
354 llvm::Expected<bool> IsTrue() {
363 llvm::Expected<long long> AsLongLong() {
373 llvm::Expected<bool> IsInstance(const PythonObject &cls) {
388 template <typename T> llvm::Expected<
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/
H A DRenamingAction.h51 static Expected<RenameOccurrences> initiate(RefactoringRuleContext &Context,
63 Expected<AtomicChanges>
72 static Expected<QualifiedRenameRule> initiate(RefactoringRuleContext &Context,
83 Expected<AtomicChanges>
94 llvm::Expected<std::vector<AtomicChange>>
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRangeSelector.cpp55 static Expected<DynTypedNode> getNode(const ast_matchers::BoundNodes &Nodes,
108 return [Selector](const MatchResult &Result) -> Expected<CharSourceRange> {
109 Expected<CharSourceRange> SelectedRange = Selector(Result);
117 return [Selector](const MatchResult &Result) -> Expected<CharSourceRange> {
118 Expected<CharSourceRange> SelectedRange = Selector(Result);
130 return [ID](const MatchResult &Result) -> Expected<CharSourceRange> {
131 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID);
142 return [ID](const MatchResult &Result) -> Expected<CharSourceRange> {
143 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID);
152 return [Begin, End](const MatchResult &Result) -> Expected<CharSourceRang
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h88 llvm::Expected<llvm::StringMap<std::string>>
127 llvm::Expected<const FunctionDecl *>
130 llvm::Expected<const VarDecl *>
147 llvm::Expected<ASTUnit *> loadExternalAST(StringRef LookupName,
157 llvm::Expected<const FunctionDecl *> importDefinition(const FunctionDecl *FD,
159 llvm::Expected<const VarDecl *> importDefinition(const VarDecl *VD,
186 llvm::Expected<const T *> getCrossTUDefinitionImpl(const T *D,
194 llvm::Expected<const T *> importDefinitionImpl(const T *D, ASTUnit *Unit);
255 /// \return An Expected instance which contains the ASTUnit pointer or the
257 llvm::Expected<ASTUni
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h141 if (Expected<word_t> Res = Read(WordBitNo))
159 assert(!(BitNo % 8) && "Expected bit on byte boundary");
189 Expected<word_t> Read(unsigned NumBits) {
232 Expected<uint32_t> ReadVBR(unsigned NumBits) {
233 Expected<unsigned> MaybeRead = Read(NumBits);
259 Expected<uint64_t> ReadVBR64(unsigned NumBits) {
260 Expected<uint64_t> MaybeRead = Read(NumBits);
399 Expected<BitstreamEntry> advance(unsigned Flags = 0) {
404 Expected<unsigned> MaybeCode = ReadCode();
417 if (Expected<unsigne
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Remarks/
H A DBitstreamRemarkParser.cpp48 Expected<unsigned> RecordID = Stream.readRecord(Code, Record, &Blob);
95 Expected<unsigned> RecordID = Stream.readRecord(Code, Record, &Blob);
161 Expected<BitstreamEntry> Next = Stream.advance();
212 Expected<std::array<char, 4>> BitstreamParserHelper::parseMagic() {
215 if (Expected<unsigned> R = Stream.Read(8))
223 Expected<BitstreamEntry> Next = Stream.advance();
233 Expected<Optional<BitstreamBlockInfo>> MaybeBlockInfo =
249 static Expected<bool> isBlock(BitstreamCursor &Stream, unsigned BlockID) {
252 Expected<BitstreamEntry> Next = Stream.advance();
273 Expected<boo
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A DListReducer.h41 virtual Expected<TestResult> doTest(std::vector<ElTy> &Prefix,
47 Expected<bool> reduceList(std::vector<ElTy> &TheList) {
50 Expected<TestResult> Result = doTest(TheList, empty);
98 Expected<TestResult> Result = doTest(ShuffledList, empty);
123 Expected<TestResult> Result = doTest(Prefix, Suffix);
186 Expected<TestResult> Result = doTest(EmptyList, TestList);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachOUniversal.h114 Expected<std::unique_ptr<MachOObjectFile>> getAsObjectFile() const;
116 Expected<std::unique_ptr<Archive>> getAsArchive() const;
140 static Expected<std::unique_ptr<MachOUniversalBinary>>
162 Expected<ObjectForArch>
165 Expected<std::unique_ptr<MachOObjectFile>>
168 Expected<std::unique_ptr<Archive>>
H A DCOFFModuleDefinition.h45 Expected<COFFModuleDefinition>
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DJITTargetMachineBuilder.h47 static Expected<JITTargetMachineBuilder> detectHost();
56 Expected<std::unique_ptr<TargetMachine>> createTargetMachine();
63 Expected<DataLayout> getDefaultDataLayoutForTarget() {
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/
H A DTestingSupport.cpp54 if (Expected<StringRef> NameOrErr = Section.getName()) {
78 if (Expected<StringRef> E = CoverageMapping.getContents())
84 if (Expected<StringRef> E = ProfileNames.getContents())
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/
H A DHostNativeProcessBase.h38 virtual llvm::Expected<HostThread>
H A DThreadLauncher.h22 static llvm::Expected<HostThread>
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/posix/
H A DHostProcessPosix.h35 llvm::Expected<HostThread>
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/MSF/
H A DIMSFFile.h32 virtual Expected<ArrayRef<uint8_t>> getBlockData(uint32_t BlockIndex,
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyldChecker.h137 std::function<Expected<MemoryRegionInfo>(StringRef SymbolName)>;
138 using GetSectionInfoFunction = std::function<Expected<MemoryRegionInfo>(
140 using GetStubInfoFunction = std::function<Expected<MemoryRegionInfo>(
142 using GetGOTInfoFunction = std::function<Expected<MemoryRegionInfo>(
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MCA/
H A DPipeline.h71 Expected<unsigned> run();
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/
H A DReader.h35 Expected<std::unique_ptr<Object>> create() const;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A Dllvm-objcopy.h29 template <class T> T unwrapOrError(Expected<T> EO) {
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DFileOutputBuffer.h50 static Expected<std::unique_ptr<FileOutputBuffer>>

Completed in 360 milliseconds

1234567891011>>