Lines Matching refs:CInvok
514 std::shared_ptr<CompilerInvocation> CInvok = in clang_indexSourceFile_Impl() local
517 if (!CInvok) in clang_indexSourceFile_Impl()
525 CInvokCleanup(&CInvok); in clang_indexSourceFile_Impl()
527 if (CInvok->getFrontendOpts().Inputs.empty()) in clang_indexSourceFile_Impl()
540 CInvok->getPreprocessorOpts().addRemappedFile(UF.Filename, MB.get()); in clang_indexSourceFile_Impl()
548 CInvok->getLangOpts()->SpellChecking = false; in clang_indexSourceFile_Impl()
551 CInvok->getDiagnosticOpts().IgnoreWarnings = true; in clang_indexSourceFile_Impl()
554 CInvok->getHeaderSearchOpts().ModuleFormat = std::string( in clang_indexSourceFile_Impl()
557 auto Unit = ASTUnit::create(CInvok, Diags, CaptureDiagnostics, in clang_indexSourceFile_Impl()
573 CInvok->getLangOpts()->CPlusPlus; in clang_indexSourceFile_Impl()
575 CInvok->getFrontendOpts().SkipFunctionBodies = true; in clang_indexSourceFile_Impl()
593 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in clang_indexSourceFile_Impl()
610 if (!requestedToGetTU && !CInvok->getLangOpts()->Modules) in clang_indexSourceFile_Impl()
620 std::move(CInvok), CXXIdx->getPCHContainerOperations(), Diags, in clang_indexSourceFile_Impl()