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