Home
last modified time | relevance | path

Searched refs:CurrentModuleReaders (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/APINotes/
H A DAPINotesManager.h65 APINotesReader *CurrentModuleReaders[2] = {nullptr, nullptr}; variable
160 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()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp63 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()