Lines Matching refs:Reader
59 if (auto Reader = Entry.second.dyn_cast<APINotesReader *>()) in ~APINotesManager() local
60 delete Reader; in ~APINotesManager()
101 auto Reader = APINotesReader::Create(std::move(CompiledBuffer), SwiftVersion); in loadAPINotes() local
102 assert(Reader && "Could not load the API notes we just generated?"); in loadAPINotes()
103 return Reader; in loadAPINotes()
122 auto Reader = APINotesReader::Create(std::move(CompiledBuffer), SwiftVersion); in loadAPINotes() local
123 assert(Reader && "Could not load the API notes we just generated?"); in loadAPINotes()
124 return Reader; in loadAPINotes()
130 if (auto Reader = loadAPINotes(APINotesFile)) { in loadAPINotes() local
131 Readers[HeaderDir] = Reader.release(); in loadAPINotes()
323 auto Reader = loadAPINotes(Buf); in loadCurrentModuleAPINotesFromBuffer() local
324 assert(Reader && "Could not load the API notes we just generated?"); in loadCurrentModuleAPINotesFromBuffer()
326 CurrentModuleReaders[NumReader++] = Reader.release(); in loadCurrentModuleAPINotesFromBuffer()
384 if (auto Reader = Known->second.dyn_cast<APINotesReader *>()) in findAPINotes() local
385 Results.push_back(Reader); in findAPINotes()
421 if (auto Reader = Readers[*Dir].dyn_cast<APINotesReader *>()) in findAPINotes() local
422 Results.push_back(Reader); in findAPINotes()
436 if (auto Reader = Readers[*Dir].dyn_cast<APINotesReader *>()) in findAPINotes() local
437 Results.push_back(Reader); in findAPINotes()