Searched refs:APINotesReader (Results 1 – 6 of 6) sorted by relevance
31 class APINotesReader; variable45 using ReaderEntry = llvm::PointerUnion<DirectoryEntryRef, APINotesReader *>;65 APINotesReader *CurrentModuleReaders[2] = {nullptr, nullptr};78 std::unique_ptr<APINotesReader> loadAPINotes(FileEntryRef APINotesFile);85 std::unique_ptr<APINotesReader> loadAPINotes(StringRef Buffer);159 ArrayRef<APINotesReader *> getCurrentModuleReaders() const { in getCurrentModuleReaders()169 llvm::SmallVector<APINotesReader *, 2> findAPINotes(SourceLocation Loc);
28 class APINotesReader {32 APINotesReader(llvm::MemoryBuffer *InputBuffer,40 static std::unique_ptr<APINotesReader>44 ~APINotesReader();46 APINotesReader(const APINotesReader &) = delete;47 APINotesReader &operator=(const APINotesReader &) = delete;
59 if (auto Reader = Entry.second.dyn_cast<APINotesReader *>()) in ~APINotesManager()67 std::unique_ptr<APINotesReader>101 auto Reader = APINotesReader::Create(std::move(CompiledBuffer), SwiftVersion); in loadAPINotes()106 std::unique_ptr<APINotesReader>122 auto Reader = APINotesReader::Create(std::move(CompiledBuffer), SwiftVersion); in loadAPINotes()331 llvm::SmallVector<APINotesReader *, 2>333 llvm::SmallVector<APINotesReader *, 2> Results; in findAPINotes()384 if (auto Reader = Known->second.dyn_cast<APINotesReader *>()) in findAPINotes()421 if (auto Reader = Readers[*Dir].dyn_cast<APINotesReader *>()) in findAPINotes()436 if (auto Reader = Readers[*Dir].dyn_cast<APINotesReader *>()) in findAPINotes()
611 class APINotesReader::Implementation {732 APINotesReader::Implementation::getIdentifier(llvm::StringRef Str) { in getIdentifier()747 APINotesReader::Implementation::getSelector(ObjCSelectorRef Selector) { in getSelector()769 bool APINotesReader::Implementation::readControlBlock( in readControlBlock()856 bool APINotesReader::Implementation::readIdentifierBlock( in readIdentifierBlock()932 bool APINotesReader::Implementation::readContextBlock( in readContextBlock()1022 bool APINotesReader::Implementation::readObjCPropertyBlock( in readObjCPropertyBlock()1099 bool APINotesReader::Implementation::readObjCMethodBlock( in readObjCMethodBlock()1174 bool APINotesReader::Implementation::readCXXMethodBlock( in readCXXMethodBlock()1249 bool APINotesReader::Implementation::readObjCSelectorBlock( in readObjCSelectorBlock()[all …]
727 const api_notes::APINotesReader::VersionedInfo<SpecificInfo> Info) { in maybeAttachUnversionedSwiftName()765 const api_notes::APINotesReader::VersionedInfo<SpecificInfo> Info) { in ProcessVersionedAPINotes()935 auto GetContext = [&](api_notes::APINotesReader *Reader) in ProcessAPINotes()1018 auto GetRecordContext = [&](api_notes::APINotesReader *Reader) in ProcessAPINotes()
29 SRCS_MIN+= APINotes/APINotesReader.cpp