Lines Matching refs:Reader
34 OwningPtr<ASTReader> Reader; in createASTReader() local
35 Reader.reset(new ASTReader(PP, CI.getASTContext(), /*isysroot=*/"", in createASTReader()
39 Reader->addInMemoryBuffer(sr, memBufs[ti]); in createASTReader()
41 Reader->setDeserializationListener(deserialListener); in createASTReader()
42 switch (Reader->ReadAST(pchFile, serialization::MK_PCH, SourceLocation(), in createASTReader()
46 PP.setPredefines(Reader->getSuggestedPredefines()); in createASTReader()
47 return Reader.take(); in createASTReader()
141 OwningPtr<ExternalASTSource> Reader; in create() local
143 Reader.reset(createASTReader(*Clang, pchName, bufs, serialBufNames, in create()
145 if (!Reader) in create()
147 Clang->getASTContext().setExternalSource(Reader); in create()
165 OwningPtr<ASTReader> Reader; in create() local
166 Reader.reset(createASTReader(CI, pchName, serialBufs, serialBufNames)); in create()
167 if (!Reader) in create()
170 source->FinalReader.reset(Reader.take()); in create()