• Home
  • Raw
  • Download

Lines Matching refs:Clang

150     std::unique_ptr<CompilerInstance> Clang(  in createChainedIncludesSource()  local
152 Clang->setInvocation(CInvok.release()); in createChainedIncludesSource()
153 Clang->setDiagnostics(Diags.get()); in createChainedIncludesSource()
154 Clang->setTarget(TargetInfo::CreateTargetInfo( in createChainedIncludesSource()
155 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in createChainedIncludesSource()
156 Clang->createFileManager(); in createChainedIncludesSource()
157 Clang->createSourceManager(Clang->getFileManager()); in createChainedIncludesSource()
158 Clang->createPreprocessor(TU_Prefix); in createChainedIncludesSource()
159 Clang->getDiagnosticClient().BeginSourceFile(Clang->getLangOpts(), in createChainedIncludesSource()
160 &Clang->getPreprocessor()); in createChainedIncludesSource()
161 Clang->createASTContext(); in createChainedIncludesSource()
166 Clang->getPreprocessor(), "-", nullptr, /*isysroot=*/"", Buffer, in createChainedIncludesSource()
168 Clang->getASTContext().setASTMutationListener( in createChainedIncludesSource()
170 Clang->setASTConsumer(std::move(consumer)); in createChainedIncludesSource()
171 Clang->createSema(TU_Prefix, nullptr); in createChainedIncludesSource()
174 Preprocessor &PP = Clang->getPreprocessor(); in createChainedIncludesSource()
191 *Clang, pchName, Bufs, serialBufNames, in createChainedIncludesSource()
192 Clang->getASTConsumer().GetASTDeserializationListener()); in createChainedIncludesSource()
195 Clang->setModuleManager(Reader); in createChainedIncludesSource()
196 Clang->getASTContext().setExternalSource(Reader); in createChainedIncludesSource()
199 if (!Clang->InitializeSourceManager(InputFile)) in createChainedIncludesSource()
202 ParseAST(Clang->getSema()); in createChainedIncludesSource()
203 Clang->getDiagnosticClient().EndSourceFile(); in createChainedIncludesSource()
209 source->CIs.push_back(Clang.release()); in createChainedIncludesSource()