Lines Matching defs:Inv
171 auto Inv = std::make_unique<CompilerInvocation>();
176 CompilerInvocation::CreateFromArgs(*Inv, ClangArgv, Ins->getDiagnostics());
183 Inv->getLangOpts().CPlusPlus = true;
184 Inv->getLangOpts().CPlusPlus11 = true;
185 Inv->getHeaderSearchOpts().UseLibcxx = true;
188 Inv->getLangOpts().ObjC = 1;
191 Inv->getLangOpts().ObjCAutoRefCount = ObjCARC;
193 Inv->getLangOpts().Bool = true;
194 Inv->getLangOpts().WChar = true;
195 Inv->getLangOpts().Blocks = true;
196 Inv->getLangOpts().DebuggerSupport = true;
197 Inv->getLangOpts().SpellChecking = false;
198 Inv->getLangOpts().ThreadsafeStatics = false;
199 Inv->getLangOpts().AccessControl = false;
200 Inv->getLangOpts().DollarIdents = true;
201 Inv->getLangOpts().Exceptions = true;
202 Inv->getLangOpts().CXXExceptions = true;
204 Inv->getLangOpts().RTTI = true;
205 Inv->getCodeGenOpts().setDebugInfo(llvm::codegenoptions::FullDebugInfo);
206 Inv->getTargetOpts().Triple = llvm::sys::getDefaultTargetTriple();
208 Ins->setInvocation(std::move(Inv));