Searched refs:APINotesReader (Results 1 – 6 of 6) sorted by relevance
31 class APINotesReader; variable45 using ReaderEntry = llvm::PointerUnion<DirectoryEntryRef, APINotesReader *>;72 APINotesReader *CurrentModuleReaders[2] = {nullptr, nullptr};85 std::unique_ptr<APINotesReader> loadAPINotes(FileEntryRef APINotesFile);92 std::unique_ptr<APINotesReader> loadAPINotes(StringRef Buffer);166 ArrayRef<APINotesReader *> getCurrentModuleReaders() const { in getCurrentModuleReaders()176 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;
58 if (auto Reader = dyn_cast_if_present<APINotesReader *>(Entry.second)) in ~APINotesManager()66 std::unique_ptr<APINotesReader>100 auto Reader = APINotesReader::Create(std::move(CompiledBuffer), SwiftVersion); in loadAPINotes()105 std::unique_ptr<APINotesReader>121 auto Reader = APINotesReader::Create(std::move(CompiledBuffer), SwiftVersion); in loadAPINotes()330 llvm::SmallVector<APINotesReader *, 2>332 llvm::SmallVector<APINotesReader *, 2> Results; in findAPINotes()383 if (auto Reader = dyn_cast_if_present<APINotesReader *>(Known->second)) in findAPINotes()420 if (auto Reader = Readers[*Dir].dyn_cast<APINotesReader *>()) in findAPINotes()435 if (auto Reader = Readers[*Dir].dyn_cast<APINotesReader *>()) in findAPINotes()
674 class APINotesReader::Implementation {803 APINotesReader::Implementation::getIdentifier(llvm::StringRef Str) { in getIdentifier()818 APINotesReader::Implementation::getSelector(ObjCSelectorRef Selector) { in getSelector()840 bool APINotesReader::Implementation::readControlBlock( in readControlBlock()927 bool APINotesReader::Implementation::readIdentifierBlock( in readIdentifierBlock()1003 bool APINotesReader::Implementation::readContextBlock( in readContextBlock()1093 bool APINotesReader::Implementation::readObjCPropertyBlock( in readObjCPropertyBlock()1170 bool APINotesReader::Implementation::readObjCMethodBlock( in readObjCMethodBlock()1245 bool APINotesReader::Implementation::readCXXMethodBlock( in readCXXMethodBlock()1320 bool APINotesReader::Implementation::readFieldBlock( in readFieldBlock()[all …]
829 const api_notes::APINotesReader::VersionedInfo<SpecificInfo> Info) { in maybeAttachUnversionedSwiftName()867 const api_notes::APINotesReader::VersionedInfo<SpecificInfo> Info) { in ProcessVersionedAPINotes()1081 auto GetContext = [&](api_notes::APINotesReader *Reader) in ProcessAPINotes()
48 SRCS_MIN+= APINotes/APINotesReader.cpp