Lines Matching refs:Reader
82 std::unique_ptr<ASTReader> Reader; in createASTReader() local
83 Reader.reset(new ASTReader(PP, CI.getASTContext(), in createASTReader()
89 Reader->addInMemoryBuffer(sr, std::move(MemBufs[ti])); in createASTReader()
91 Reader->setDeserializationListener(deserialListener); in createASTReader()
92 switch (Reader->ReadAST(pchFile, serialization::MK_PCH, SourceLocation(), in createASTReader()
96 PP.setPredefines(Reader->getSuggestedPredefines()); in createASTReader()
97 return Reader.release(); in createASTReader()
116 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) { in createChainedIncludesSource() argument
189 IntrusiveRefCntPtr<ASTReader> Reader; in createChainedIncludesSource() local
190 Reader = createASTReader( in createChainedIncludesSource()
193 if (!Reader) in createChainedIncludesSource()
195 Clang->setModuleManager(Reader); in createChainedIncludesSource()
196 Clang->getASTContext().setExternalSource(Reader); in createChainedIncludesSource()
215 Reader = createASTReader(CI, pchName, SerialBufs, serialBufNames); in createChainedIncludesSource()
216 if (!Reader) in createChainedIncludesSource()
219 source->FinalReader = Reader; in createChainedIncludesSource()