Searched refs:CInvok (Results 1 – 4 of 4) sorted by relevance
174 std::unique_ptr<CompilerInvocation> CInvok; in createInvocationForMigration() local175 CInvok.reset(new CompilerInvocation(origCI)); in createInvocationForMigration()176 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in createInvocationForMigration()193 CInvok->getPreprocessorOpts().addMacroDef(define); in createInvocationForMigration()194 CInvok->getLangOpts()->ObjCAutoRefCount = true; in createInvocationForMigration()195 CInvok->getLangOpts()->setGC(LangOptions::NonGC); in createInvocationForMigration()196 CInvok->getDiagnosticOpts().ErrorLimit = 0; in createInvocationForMigration()197 CInvok->getDiagnosticOpts().PedanticErrors = 0; in createInvocationForMigration()202 I = CInvok->getDiagnosticOpts().Warnings.begin(), in createInvocationForMigration()203 E = CInvok->getDiagnosticOpts().Warnings.end(); I != E; ++I) { in createInvocationForMigration()[all …]
104 std::unique_ptr<CompilerInvocation> CInvok; in createChainedIncludesSource() local105 CInvok.reset(new CompilerInvocation(CI.getInvocation())); in createChainedIncludesSource()107 CInvok->getPreprocessorOpts().ChainedIncludes.clear(); in createChainedIncludesSource()108 CInvok->getPreprocessorOpts().ImplicitPCHInclude.clear(); in createChainedIncludesSource()109 CInvok->getPreprocessorOpts().DisablePCHOrModuleValidation = in createChainedIncludesSource()111 CInvok->getPreprocessorOpts().Includes.clear(); in createChainedIncludesSource()112 CInvok->getPreprocessorOpts().MacroIncludes.clear(); in createChainedIncludesSource()113 CInvok->getPreprocessorOpts().Macros.clear(); in createChainedIncludesSource()115 CInvok->getFrontendOpts().Inputs.clear(); in createChainedIncludesSource()117 CInvok->getFrontendOpts().Inputs.push_back(InputFile); in createChainedIncludesSource()[all …]
514 std::shared_ptr<CompilerInvocation> CInvok = in clang_indexSourceFile_Impl() local517 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()[all …]
227 auto CInvok = createInvocation(ArgsWithProgName, std::move(CIOpts)); in printSourceSymbols() local228 if (!CInvok) in printSourceSymbols()242 std::move(CInvok), PCHContainerOps, Diags, IndexAction.get())); in printSourceSymbols()