/external/clang/include/clang/ARCMigrate/ |
FileRemapper.h | 57 void applyMappings(PreprocessorOptions &PPOpts) const;
|
/external/clang/lib/Rewrite/Frontend/ |
FrontendActions.cpp | 141 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); 142 PPOpts.RemappedFiles.insert(PPOpts.RemappedFiles.end(), 144 PPOpts.RemappedFilesKeepOriginalName = false;
|
/external/clang/lib/ARCMigrate/ |
ARCMT.cpp | 172 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); 173 if (!PPOpts.ImplicitPCHInclude.empty()) { 182 ASTReader::getOriginalSourceFile(PPOpts.ImplicitPCHInclude, 185 PPOpts.Includes.insert(PPOpts.Includes.begin(), OriginalFile); 186 PPOpts.ImplicitPCHInclude.clear(); 414 PreprocessorOptions PPOpts; 415 remapper.applyMappings(PPOpts); 416 remap = PPOpts.RemappedFiles;
|
FileRemapper.cpp | 196 void FileRemapper::applyMappings(PreprocessorOptions &PPOpts) const { 200 PPOpts.addRemappedFile(I->first->getName(), FE->getName()); 203 PPOpts.addRemappedFile(I->first->getName(), mem); 207 PPOpts.RetainRemappedFileBuffers = true;
|
/external/clang/lib/Frontend/ |
FrontendActions.cpp | 496 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, 500 DUMP_BOOLEAN(PPOpts.UsePredefines, 502 DUMP_BOOLEAN(PPOpts.DetailedRecord, 505 if (!PPOpts.Macros.empty()) { 510 I = PPOpts.Macros.begin(), IEnd = PPOpts.Macros.end();
|
CompilerInstance.cpp | 290 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); 294 if (!PPOpts.TokenCache.empty()) 295 PTHMgr = PTHManager::Create(PPOpts.TokenCache, getDiagnostics()); 316 if (PPOpts.DetailedRecord) 321 PP->getFileManager(), PPOpts); 324 InitializePreprocessor(*PP, PPOpts, getFrontendOpts()); 867 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); 872 PPOpts.resetNonModularOptions(); 877 PPOpts.Macros.erase( 878 std::remove_if(PPOpts.Macros.begin(), PPOpts.Macros.end() [all...] |
FrontendAction.cpp | 259 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); 260 StringRef PCHInclude = PPOpts.ImplicitPCHInclude; 273 PPOpts.ImplicitPCHInclude = Dir->path();
|
ASTUnit.cpp | 250 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); 251 for (const auto &RB : PPOpts.RemappedFileBuffers) 701 PreprocessorOptions *PPOpts = new PreprocessorOptions(); 704 PPOpts->addRemappedFile(RemappedFiles[I].first, RemappedFiles[I].second); 712 new Preprocessor(PPOpts, AST->getDiagnostics(), AST->ASTFileLangOpts, [all...] |
/external/clang/tools/arcmt-test/ |
arcmt-test.cpp | 139 PreprocessorOptions PPOpts; 140 remapper.applyMappings(PPOpts); 142 for (const auto &RB : PPOpts.RemappedFileBuffers)
|
/frameworks/compile/slang/ |
slang.cpp | 208 llvm::IntrusiveRefCntPtr<clang::PreprocessorOptions> PPOpts = 210 mPP.reset(new clang::Preprocessor(PPOpts, 221 clang::InitializePreprocessor(*mPP, *PPOpts, FEOpts);
|
/external/clang/unittests/Lex/ |
PPCallbacksTest.cpp | 173 IntrusiveRefCntPtr<PreprocessorOptions> PPOpts = new PreprocessorOptions(); 174 Preprocessor PP(PPOpts, Diags, LangOpts, SourceMgr, HeaderInfo, ModLoader,
|
/external/clang/tools/libclang/ |
Indexing.cpp | 419 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); 421 if (!PPOpts.ImplicitPCHInclude.empty()) { 423 CI.getFileManager().getFile(PPOpts.ImplicitPCHInclude)); 629 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); 630 PPOpts.AllowPCHWithCompilerErrors = true; 641 PPOpts.DetailedRecord = true; 645 PPOpts.DetailedRecord = false; [all...] |
/external/clang/include/clang/Frontend/ |
Utils.h | 65 const PreprocessorOptions &PPOpts,
|
/external/clang/lib/Lex/ |
Preprocessor.cpp | 57 Preprocessor::Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts, 63 : PPOpts(PPOpts), Diags(&diags), LangOpts(opts), Target(nullptr),
|
/external/clang/lib/Serialization/ |
ASTReader.cpp | 112 const PreprocessorOptions &PPOpts, bool Complain, 114 return First->ReadPreprocessorOptions(PPOpts, Complain, 116 Second->ReadPreprocessorOptions(PPOpts, Complain, SuggestedPredefines); 416 collectMacroDefinitions(const PreprocessorOptions &PPOpts, 419 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) { 420 StringRef Macro = PPOpts.Macros[I].first; 421 bool IsUndef = PPOpts.Macros[I].second; 455 static bool checkPreprocessorOptions(const PreprocessorOptions &PPOpts, 463 collectMacroDefinitions(PPOpts, ASTFileMacros); 519 if (PPOpts.UsePredefines != ExistingPPOpts.UsePredefines) [all...] |
ASTWriter.cpp | [all...] |
/external/clang/include/clang/Serialization/ |
ASTReader.h | 167 virtual bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, 221 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, 249 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain, [all...] |
/external/clang/include/clang/Lex/ |
Preprocessor.h | 89 IntrusiveRefCntPtr<PreprocessorOptions> PPOpts; 456 Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts, 474 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; } [all...] |