Lines Matching refs:origCI

147 static bool HasARCRuntime(CompilerInvocation &origCI) {  in HasARCRuntime()  argument
151 llvm::Triple triple(origCI.getTargetOpts().Triple); in HasARCRuntime()
169 createInvocationForMigration(CompilerInvocation &origCI) { in createInvocationForMigration() argument
171 CInvok.reset(new CompilerInvocation(origCI)); in createInvocationForMigration()
176 FileManager FileMgr(origCI.getFileSystemOpts()); in createInvocationForMigration()
179 new DiagnosticsEngine(DiagID, &origCI.getDiagnosticOpts(), in createInvocationForMigration()
209 CInvok->getLangOpts()->ObjCARCWeak = HasARCRuntime(origCI); in createInvocationForMigration()
233 bool arcmt::checkForManualIssues(CompilerInvocation &origCI, in checkForManualIssues() argument
238 if (!origCI.getLangOpts()->ObjC1) in checkForManualIssues()
241 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in checkForManualIssues()
242 bool NoNSAllocReallocError = origCI.getMigratorOpts().NoNSAllocReallocError; in checkForManualIssues()
243 bool NoFinalizeRemoval = origCI.getMigratorOpts().NoFinalizeRemoval; in checkForManualIssues()
250 CInvok.reset(createInvocationForMigration(origCI)); in checkForManualIssues()
259 new DiagnosticsEngine(DiagID, &origCI.getDiagnosticOpts(), in checkForManualIssues()
288 emitPremigrationErrors(capturedDiags, &origCI.getDiagnosticOpts(), in checkForManualIssues()
333 static bool applyTransforms(CompilerInvocation &origCI, in applyTransforms() argument
339 if (!origCI.getLangOpts()->ObjC1) in applyTransforms()
342 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in applyTransforms()
345 CompilerInvocation CInvokForCheck(origCI); in applyTransforms()
350 CompilerInvocation CInvok(origCI); in applyTransforms()
355 bool NoFinalizeRemoval = origCI.getMigratorOpts().NoFinalizeRemoval; in applyTransforms()
368 new DiagnosticsEngine(DiagID, &origCI.getDiagnosticOpts(), in applyTransforms()
372 origCI.getLangOpts()->ObjCAutoRefCount = true; in applyTransforms()
379 bool arcmt::applyTransformations(CompilerInvocation &origCI, in applyTransformations() argument
382 return applyTransforms(origCI, Input, DiagClient, in applyTransformations()
386 bool arcmt::migrateWithTemporaryFiles(CompilerInvocation &origCI, in migrateWithTemporaryFiles() argument
393 return applyTransforms(origCI, Input, DiagClient, in migrateWithTemporaryFiles()