Home
last modified time | relevance | path

Searched refs:CInvok (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMT.cpp174 std::unique_ptr<CompilerInvocation> CInvok; in createInvocationForMigration() local
175 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 …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DChainedIncludesSource.cpp104 std::unique_ptr<CompilerInvocation> CInvok; in createChainedIncludesSource() local
105 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 …]