/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Transformer/ |
H A D | MatchConsumer.h | 35 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 D | Transformer.h | 26 std::function<void(Expected<clang::tooling::AtomicChange> Change)>;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | Archive.cpp | 66 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 D | SymbolicFile.cpp | 37 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 D | BitstreamRemarkParser.h | 97 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 D | PythonDataObjects.h | 21 // 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 D | RenamingAction.h | 51 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 D | RangeSelector.cpp | 55 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 D | CrossTranslationUnit.h | 88 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 D | BitstreamReader.h | 141 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 D | BitstreamRemarkParser.cpp | 48 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 D | ListReducer.h | 41 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 D | MachOUniversal.h | 114 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 D | COFFModuleDefinition.h | 45 Expected<COFFModuleDefinition>
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | JITTargetMachineBuilder.h | 47 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 D | TestingSupport.cpp | 54 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 D | HostNativeProcessBase.h | 38 virtual llvm::Expected<HostThread>
|
H A D | ThreadLauncher.h | 22 static llvm::Expected<HostThread>
|
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/posix/ |
H A D | HostProcessPosix.h | 35 llvm::Expected<HostThread>
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/MSF/ |
H A D | IMSFFile.h | 32 virtual Expected<ArrayRef<uint8_t>> getBlockData(uint32_t BlockIndex,
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/ |
H A D | RuntimeDyldChecker.h | 137 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 D | Pipeline.h | 71 Expected<unsigned> run();
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/ |
H A D | Reader.h | 35 Expected<std::unique_ptr<Object>> create() const;
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
H A D | llvm-objcopy.h | 29 template <class T> T unwrapOrError(Expected<T> EO) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | FileOutputBuffer.h | 50 static Expected<std::unique_ptr<FileOutputBuffer>>
|