Lines Matching refs:origCI
148 static bool HasARCRuntime(CompilerInvocation &origCI) { in HasARCRuntime() argument
152 llvm::Triple triple(origCI.getTargetOpts().Triple); in HasARCRuntime()
173 createInvocationForMigration(CompilerInvocation &origCI, in createInvocationForMigration() argument
176 CInvok.reset(new CompilerInvocation(origCI)); in createInvocationForMigration()
181 FileManager FileMgr(origCI.getFileSystemOpts()); in createInvocationForMigration()
184 new DiagnosticsEngine(DiagID, &origCI.getDiagnosticOpts(), in createInvocationForMigration()
213 CInvok->getLangOpts()->ObjCWeakRuntime = HasARCRuntime(origCI); in createInvocationForMigration()
239 CompilerInvocation &origCI, const FrontendInputFile &Input, in checkForManualIssues() argument
243 if (!origCI.getLangOpts()->ObjC1) in checkForManualIssues()
246 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in checkForManualIssues()
247 bool NoNSAllocReallocError = origCI.getMigratorOpts().NoNSAllocReallocError; in checkForManualIssues()
248 bool NoFinalizeRemoval = origCI.getMigratorOpts().NoFinalizeRemoval; in checkForManualIssues()
256 createInvocationForMigration(origCI, PCHContainerOps->getRawReader())); in checkForManualIssues()
265 new DiagnosticsEngine(DiagID, &origCI.getDiagnosticOpts(), in checkForManualIssues()
294 emitPremigrationErrors(capturedDiags, &origCI.getDiagnosticOpts(), in checkForManualIssues()
340 applyTransforms(CompilerInvocation &origCI, const FrontendInputFile &Input, in applyTransforms() argument
344 if (!origCI.getLangOpts()->ObjC1) in applyTransforms()
347 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in applyTransforms()
350 CompilerInvocation CInvokForCheck(origCI); in applyTransforms()
356 CompilerInvocation CInvok(origCI); in applyTransforms()
361 bool NoFinalizeRemoval = origCI.getMigratorOpts().NoFinalizeRemoval; in applyTransforms()
374 new DiagnosticsEngine(DiagID, &origCI.getDiagnosticOpts(), in applyTransforms()
378 origCI.getLangOpts()->ObjCAutoRefCount = true; in applyTransforms()
386 CompilerInvocation &origCI, const FrontendInputFile &Input, in applyTransformations() argument
389 return applyTransforms(origCI, Input, PCHContainerOps, DiagClient, in applyTransformations()
394 CompilerInvocation &origCI, const FrontendInputFile &Input, in migrateWithTemporaryFiles() argument
399 return applyTransforms(origCI, Input, PCHContainerOps, DiagClient, outputDir, in migrateWithTemporaryFiles()