Searched refs:CurrentModuleReaders (Results 1 – 2 of 2) sorted by relevance
65 APINotesReader *CurrentModuleReaders[2] = {nullptr, nullptr}; variable160 bool HasPublic = CurrentModuleReaders[ReaderKind::Public]; in getCurrentModuleReaders()161 bool HasPrivate = CurrentModuleReaders[ReaderKind::Private]; in getCurrentModuleReaders()165 return ArrayRef(CurrentModuleReaders).slice(0, HasPrivate ? 2 : 1); in getCurrentModuleReaders()
63 delete CurrentModuleReaders[ReaderKind::Public]; in ~APINotesManager()64 delete CurrentModuleReaders[ReaderKind::Private]; in ~APINotesManager()305 assert(!CurrentModuleReaders[ReaderKind::Public] && in loadCurrentModuleAPINotes()311 CurrentModuleReaders[NumReaders++] = loadAPINotes(File).release(); in loadCurrentModuleAPINotes()326 CurrentModuleReaders[NumReader++] = Reader.release(); in loadCurrentModuleAPINotesFromBuffer()