reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
176 CInvok.reset(new CompilerInvocation(origCI)); 177 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); 194 CInvok->getPreprocessorOpts().addMacroDef(define); 195 CInvok->getLangOpts()->ObjCAutoRefCount = true; 196 CInvok->getLangOpts()->setGC(LangOptions::NonGC); 197 CInvok->getDiagnosticOpts().ErrorLimit = 0; 198 CInvok->getDiagnosticOpts().PedanticErrors = 0; 203 I = CInvok->getDiagnosticOpts().Warnings.begin(), 204 E = CInvok->getDiagnosticOpts().Warnings.end(); I != E; ++I) { 209 CInvok->getDiagnosticOpts().Warnings = std::move(WarnOpts); 211 CInvok->getLangOpts()->ObjCWeakRuntime = HasARCRuntime(origCI); 212 CInvok->getLangOpts()->ObjCWeak = CInvok->getLangOpts()->ObjCWeakRuntime; 212 CInvok->getLangOpts()->ObjCWeak = CInvok->getLangOpts()->ObjCWeakRuntime; 214 return CInvok.release();