Searched refs:APINotesReader (Results 1 – 5 of 5) 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;
58 if (auto Reader = Entry.second.dyn_cast<APINotesReader *>()) 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()325 llvm::SmallVector<APINotesReader *, 2>327 llvm::SmallVector<APINotesReader *, 2> Results; in findAPINotes()378 if (auto Reader = Known->second.dyn_cast<APINotesReader *>()) in findAPINotes()415 if (auto Reader = Readers[*Dir].dyn_cast<APINotesReader *>()) in findAPINotes()430 if (auto Reader = Readers[*Dir].dyn_cast<APINotesReader *>()) in findAPINotes()
610 class APINotesReader::Implementation {760 bool APINotesReader::Implementation::readControlBlock( in readControlBlock()847 bool APINotesReader::Implementation::readIdentifierBlock( in readIdentifierBlock()1470 bool APINotesReader::Implementation::readTagBlock( in readTagBlock()1545 bool APINotesReader::Implementation::readTypedefBlock( in readTypedefBlock()1620 APINotesReader::APINotesReader(llvm::MemoryBuffer *InputBuffer, in APINotesReader() function in clang::api_notes::APINotesReader1783 APINotesReader::~APINotesReader() { delete Implementation->InputBuffer; } in ~APINotesReader()1785 std::unique_ptr<APINotesReader>1789 std::unique_ptr<APINotesReader> Reader( in Create()1798 APINotesReader::VersionedInfo<T>::VersionedInfo( in VersionedInfo()[all …]
30 SRCS_MIN+= APINotes/APINotesReader.cpp