Home
last modified time | relevance | path

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

/external/clang/lib/ARCMigrate/
DARCMT.cpp175 std::unique_ptr<CompilerInvocation> CInvok; in createInvocationForMigration() local
176 CInvok.reset(new CompilerInvocation(origCI)); in createInvocationForMigration()
177 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in createInvocationForMigration()
193 CInvok->getPreprocessorOpts().ImplicitPTHInclude.clear(); in createInvocationForMigration()
196 CInvok->getPreprocessorOpts().addMacroDef(define); in createInvocationForMigration()
197 CInvok->getLangOpts()->ObjCAutoRefCount = true; in createInvocationForMigration()
198 CInvok->getLangOpts()->setGC(LangOptions::NonGC); in createInvocationForMigration()
199 CInvok->getDiagnosticOpts().ErrorLimit = 0; in createInvocationForMigration()
200 CInvok->getDiagnosticOpts().PedanticErrors = 0; in createInvocationForMigration()
205 I = CInvok->getDiagnosticOpts().Warnings.begin(), in createInvocationForMigration()
[all …]
/external/clang/lib/Frontend/
DChainedIncludesSource.cpp129 std::unique_ptr<CompilerInvocation> CInvok; in createChainedIncludesSource() local
130 CInvok.reset(new CompilerInvocation(CI.getInvocation())); in createChainedIncludesSource()
132 CInvok->getPreprocessorOpts().ChainedIncludes.clear(); in createChainedIncludesSource()
133 CInvok->getPreprocessorOpts().ImplicitPCHInclude.clear(); in createChainedIncludesSource()
134 CInvok->getPreprocessorOpts().ImplicitPTHInclude.clear(); in createChainedIncludesSource()
135 CInvok->getPreprocessorOpts().DisablePCHValidation = true; in createChainedIncludesSource()
136 CInvok->getPreprocessorOpts().Includes.clear(); in createChainedIncludesSource()
137 CInvok->getPreprocessorOpts().MacroIncludes.clear(); in createChainedIncludesSource()
138 CInvok->getPreprocessorOpts().Macros.clear(); in createChainedIncludesSource()
140 CInvok->getFrontendOpts().Inputs.clear(); in createChainedIncludesSource()
[all …]
/external/clang/tools/libclang/
DIndexing.cpp481 CInvok(createInvocationFromCommandLine(*Args, Diags)); in clang_indexSourceFile_Impl() local
483 if (!CInvok) in clang_indexSourceFile_Impl()
489 CInvokCleanup(CInvok.get()); in clang_indexSourceFile_Impl()
491 if (CInvok->getFrontendOpts().Inputs.empty()) in clang_indexSourceFile_Impl()
504 CInvok->getPreprocessorOpts().addRemappedFile(UF.Filename, MB.get()); in clang_indexSourceFile_Impl()
512 CInvok->getLangOpts()->SpellChecking = false; in clang_indexSourceFile_Impl()
515 CInvok->getDiagnosticOpts().IgnoreWarnings = true; in clang_indexSourceFile_Impl()
518 CInvok->getHeaderSearchOpts().ModuleFormat = in clang_indexSourceFile_Impl()
521 ASTUnit *Unit = ASTUnit::create(CInvok.get(), Diags, CaptureDiagnostics, in clang_indexSourceFile_Impl()
536 CInvok->getLangOpts()->CPlusPlus; in clang_indexSourceFile_Impl()
[all …]
/external/clang/tools/c-index-test/
Dcore_main.cpp145 CInvok(createInvocationFromCommandLine(ArgsWithProgName, Diags)); in printSourceSymbols() local
146 if (!CInvok) in printSourceSymbols()
157 CInvok.get(), PCHContainerOps, Diags, IndexAction.get())); in printSourceSymbols()