/external/clang/lib/Rewrite/Frontend/ |
H A D | FrontendActions.cpp | 143 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); local 144 PPOpts.RemappedFiles.insert(PPOpts.RemappedFiles.end(), 146 PPOpts.RemappedFilesKeepOriginalName = false;
|
/external/clang/lib/ARCMigrate/ |
H A D | FileRemapper.cpp | 208 void FileRemapper::applyMappings(PreprocessorOptions &PPOpts) const { 212 PPOpts.addRemappedFile(I->first->getName(), FE->getName()); 215 PPOpts.addRemappedFile(I->first->getName(), mem); 219 PPOpts.RetainRemappedFileBuffers = true; 222 void FileRemapper::transferMappingsAndClear(PreprocessorOptions &PPOpts) { argument 226 PPOpts.addRemappedFile(I->first->getName(), FE->getName()); 229 PPOpts.addRemappedFile(I->first->getName(), mem); 234 PPOpts.RetainRemappedFileBuffers = false;
|
H A D | ARCMT.cpp | 178 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); local 179 if (!PPOpts.ImplicitPCHInclude.empty()) { 188 ASTReader::getOriginalSourceFile(PPOpts.ImplicitPCHInclude, 191 PPOpts.Includes.insert(PPOpts.Includes.begin(), OriginalFile); 192 PPOpts.ImplicitPCHInclude.clear(); 425 PreprocessorOptions PPOpts; 426 remapper.applyMappings(PPOpts); 427 remap = PPOpts.RemappedFiles; 455 PreprocessorOptions PPOpts; local [all...] |
/external/clang/tools/arcmt-test/ |
H A D | arcmt-test.cpp | 139 PreprocessorOptions PPOpts; local 140 remapper.applyMappings(PPOpts); 142 for (unsigned i = 0, e = PPOpts.RemappedFileBuffers.size(); i != e; ++i) { 143 const llvm::MemoryBuffer *mem = PPOpts.RemappedFileBuffers[i].second;
|
/external/clang/unittests/Lex/ |
H A D | PPCallbacksTest.cpp | 138 IntrusiveRefCntPtr<PreprocessorOptions> PPOpts = new PreprocessorOptions(); local 139 Preprocessor PP(PPOpts, Diags, LangOpts,
|
/external/clang/lib/Frontend/ |
H A D | FrontendAction.cpp | 240 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); local 241 StringRef PCHInclude = PPOpts.ImplicitPCHInclude; 254 PPOpts.ImplicitPCHInclude = Dir->path();
|
H A D | CompilerInstance.cpp | 215 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); local 219 if (!PPOpts.TokenCache.empty()) 220 PTHMgr = PTHManager::Create(PPOpts.TokenCache, getDiagnostics()); 241 if (PPOpts.DetailedRecord) 244 InitializePreprocessor(*PP, PPOpts, getHeaderSearchOpts(), getFrontendOpts()); 792 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local 797 PPOpts.resetNonModularOptions(); 802 PPOpts.Macros.erase(std::remove_if(PPOpts.Macros.begin(), PPOpts 1036 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); local [all...] |
H A D | ASTUnit.cpp | 249 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local 251 FB = PPOpts.remapped_file_buffer_begin(), 252 FBEnd = PPOpts.remapped_file_buffer_end(); 1995 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); local 1996 PPOpts.RemappedFilesKeepOriginalName = RemappedFilesKeepOriginalName; 1997 PPOpts.AllowPCHWithCompilerErrors = AllowPCHWithCompilerErrors; 2053 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local 2055 R = PPOpts.remapped_file_buffer_begin(), 2056 REnd = PPOpts.remapped_file_buffer_end();
|
/external/clang/lib/Lex/ |
H A D | Preprocessor.cpp | 59 Preprocessor::Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts, argument 65 : PPOpts(PPOpts), Diags(&diags), LangOpts(opts), Target(target),
|
/external/clang/tools/libclang/ |
H A D | Indexing.cpp | 429 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); local 431 if (!PPOpts.ImplicitPCHInclude.empty()) { 433 CI.getFileManager().getFile(PPOpts.ImplicitPCHInclude)); 640 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); local 641 PPOpts.AllowPCHWithCompilerErrors = true; 652 PPOpts.DetailedRecord = true; 656 PPOpts.DetailedRecord = false;
|
/external/clang/include/clang/Lex/ |
H A D | Preprocessor.h | 87 IntrusiveRefCntPtr<PreprocessorOptions> PPOpts; member in class:clang::Preprocessor 407 Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts, 427 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; }
|
/external/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 154 virtual bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, argument 184 virtual bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, 1257 const PreprocessorOptions &PPOpts);
|
/external/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 1148 const PreprocessorOptions &PPOpts = PP.getPreprocessorOpts(); local 1151 Record.push_back(PPOpts.Macros.size()); 1152 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) { 1153 AddString(PPOpts.Macros[I].first, Record); 1154 Record.push_back(PPOpts.Macros[I].second); 1158 Record.push_back(PPOpts.Includes.size()); 1159 for (unsigned I = 0, N = PPOpts.Includes.size(); I != N; ++I) 1160 AddString(PPOpts.Includes[I], Record); 1163 Record.push_back(PPOpts.MacroIncludes.size()); 1164 for (unsigned I = 0, N = PPOpts [all...] |
H A D | ASTReader.cpp | 217 static void collectMacroDefinitions(const PreprocessorOptions &PPOpts, argument 220 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) { 221 StringRef Macro = PPOpts.Macros[I].first; 222 bool IsUndef = PPOpts.Macros[I].second; 256 static bool checkPreprocessorOptions(const PreprocessorOptions &PPOpts, argument 263 collectMacroDefinitions(PPOpts, ASTFileMacros); 319 if (PPOpts.UsePredefines != ExistingPPOpts.UsePredefines) { 332 if (std::find(PPOpts.Includes.begin(), PPOpts.Includes.end(), File) 333 != PPOpts 358 ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain, std::string &SuggestedPredefines) argument 3287 ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain, std::string &SuggestedPredefines) argument 3391 isAcceptableASTFile(StringRef Filename, FileManager &FileMgr, const LangOptions &LangOpts, const TargetOptions &TargetOpts, const PreprocessorOptions &PPOpts) argument 3806 PreprocessorOptions PPOpts; local [all...] |