Lines Matching refs:CInvok
174 std::unique_ptr<CompilerInvocation> CInvok; in createInvocationForMigration() local
175 CInvok.reset(new CompilerInvocation(origCI)); in createInvocationForMigration()
176 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in createInvocationForMigration()
193 CInvok->getPreprocessorOpts().addMacroDef(define); in createInvocationForMigration()
194 CInvok->getLangOpts().ObjCAutoRefCount = true; in createInvocationForMigration()
195 CInvok->getLangOpts().setGC(LangOptions::NonGC); in createInvocationForMigration()
196 CInvok->getDiagnosticOpts().ErrorLimit = 0; in createInvocationForMigration()
197 CInvok->getDiagnosticOpts().PedanticErrors = 0; in createInvocationForMigration()
202 I = CInvok->getDiagnosticOpts().Warnings.begin(), in createInvocationForMigration()
203 E = CInvok->getDiagnosticOpts().Warnings.end(); I != E; ++I) { in createInvocationForMigration()
208 CInvok->getDiagnosticOpts().Warnings = std::move(WarnOpts); in createInvocationForMigration()
210 CInvok->getLangOpts().ObjCWeakRuntime = HasARCRuntime(origCI); in createInvocationForMigration()
211 CInvok->getLangOpts().ObjCWeak = CInvok->getLangOpts().ObjCWeakRuntime; in createInvocationForMigration()
213 return CInvok.release(); in createInvocationForMigration()
251 std::unique_ptr<CompilerInvocation> CInvok; in checkForManualIssues() local
252 CInvok.reset( in checkForManualIssues()
254 CInvok->getFrontendOpts().Inputs.clear(); in checkForManualIssues()
255 CInvok->getFrontendOpts().Inputs.push_back(Input); in checkForManualIssues()
270 std::move(CInvok), PCHContainerOps, Diags)); in checkForManualIssues()
353 CompilerInvocation CInvok(origCI); in applyTransforms() local
354 CInvok.getFrontendOpts().Inputs.clear(); in applyTransforms()
355 CInvok.getFrontendOpts().Inputs.push_back(Input); in applyTransforms()
357 MigrationProcess migration(CInvok, PCHContainerOps, DiagClient, outputDir); in applyTransforms()
524 std::unique_ptr<CompilerInvocation> CInvok; in applyTransform() local
525 CInvok.reset( in applyTransform()
527 CInvok->getDiagnosticOpts().IgnoreWarnings = true; in applyTransform()
529 Remapper.applyMappings(CInvok->getPreprocessorOpts()); in applyTransform()
548 std::move(CInvok), PCHContainerOps, Diags, ASTAction.get())); in applyTransform()