Lines Matching refs:origCI

147 static bool HasARCRuntime(CompilerInvocation &origCI) {  in HasARCRuntime()  argument
151 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()
212 CInvok->getLangOpts()->ObjCWeakRuntime = HasARCRuntime(origCI); in createInvocationForMigration()
238 CompilerInvocation &origCI, const FrontendInputFile &Input, in checkForManualIssues() argument
242 if (!origCI.getLangOpts()->ObjC1) in checkForManualIssues()
245 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in checkForManualIssues()
246 bool NoNSAllocReallocError = origCI.getMigratorOpts().NoNSAllocReallocError; in checkForManualIssues()
247 bool NoFinalizeRemoval = origCI.getMigratorOpts().NoFinalizeRemoval; in checkForManualIssues()
255 createInvocationForMigration(origCI, PCHContainerOps->getRawReader())); in checkForManualIssues()
264 new DiagnosticsEngine(DiagID, &origCI.getDiagnosticOpts(), in checkForManualIssues()
293 emitPremigrationErrors(capturedDiags, &origCI.getDiagnosticOpts(), in checkForManualIssues()
339 applyTransforms(CompilerInvocation &origCI, const FrontendInputFile &Input, in applyTransforms() argument
343 if (!origCI.getLangOpts()->ObjC1) in applyTransforms()
346 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in applyTransforms()
349 CompilerInvocation CInvokForCheck(origCI); in applyTransforms()
355 CompilerInvocation CInvok(origCI); in applyTransforms()
360 bool NoFinalizeRemoval = origCI.getMigratorOpts().NoFinalizeRemoval; in applyTransforms()
373 new DiagnosticsEngine(DiagID, &origCI.getDiagnosticOpts(), in applyTransforms()
377 origCI.getLangOpts()->ObjCAutoRefCount = true; in applyTransforms()
385 CompilerInvocation &origCI, const FrontendInputFile &Input, in applyTransformations() argument
388 return applyTransforms(origCI, Input, PCHContainerOps, DiagClient, in applyTransformations()
393 CompilerInvocation &origCI, const FrontendInputFile &Input, in migrateWithTemporaryFiles() argument
398 return applyTransforms(origCI, Input, PCHContainerOps, DiagClient, outputDir, in migrateWithTemporaryFiles()