Lines Matching refs:origCI
149 static bool HasARCRuntime(CompilerInvocation &origCI) { in HasARCRuntime() argument
153 llvm::Triple triple(origCI.getTargetOpts().Triple); in HasARCRuntime()
172 createInvocationForMigration(CompilerInvocation &origCI, in createInvocationForMigration() argument
175 CInvok.reset(new CompilerInvocation(origCI)); in createInvocationForMigration()
180 FileManager FileMgr(origCI.getFileSystemOpts()); in createInvocationForMigration()
183 new DiagnosticsEngine(DiagID, &origCI.getDiagnosticOpts(), in createInvocationForMigration()
210 CInvok->getLangOpts().ObjCWeakRuntime = HasARCRuntime(origCI); in createInvocationForMigration()
236 CompilerInvocation &origCI, const FrontendInputFile &Input, in checkForManualIssues() argument
240 if (!origCI.getLangOpts().ObjC) in checkForManualIssues()
243 LangOptions::GCMode OrigGCMode = origCI.getLangOpts().getGC(); in checkForManualIssues()
244 bool NoNSAllocReallocError = origCI.getMigratorOpts().NoNSAllocReallocError; in checkForManualIssues()
245 bool NoFinalizeRemoval = origCI.getMigratorOpts().NoFinalizeRemoval; in checkForManualIssues()
253 createInvocationForMigration(origCI, PCHContainerOps->getRawReader())); in checkForManualIssues()
262 new DiagnosticsEngine(DiagID, &origCI.getDiagnosticOpts(), in checkForManualIssues()
291 emitPremigrationErrors(capturedDiags, &origCI.getDiagnosticOpts(), in checkForManualIssues()
337 applyTransforms(CompilerInvocation &origCI, const FrontendInputFile &Input, in applyTransforms() argument
341 if (!origCI.getLangOpts().ObjC) in applyTransforms()
344 LangOptions::GCMode OrigGCMode = origCI.getLangOpts().getGC(); in applyTransforms()
347 CompilerInvocation CInvokForCheck(origCI); in applyTransforms()
353 CompilerInvocation CInvok(origCI); in applyTransforms()
358 bool NoFinalizeRemoval = origCI.getMigratorOpts().NoFinalizeRemoval; in applyTransforms()
371 new DiagnosticsEngine(DiagID, &origCI.getDiagnosticOpts(), in applyTransforms()
375 origCI.getLangOpts().ObjCAutoRefCount = true; in applyTransforms()
383 CompilerInvocation &origCI, const FrontendInputFile &Input, in applyTransformations() argument
386 return applyTransforms(origCI, Input, PCHContainerOps, DiagClient, in applyTransformations()
391 CompilerInvocation &origCI, const FrontendInputFile &Input, in migrateWithTemporaryFiles() argument
396 return applyTransforms(origCI, Input, PCHContainerOps, DiagClient, outputDir, in migrateWithTemporaryFiles()