/external/clang/lib/Rewrite/Frontend/ |
H A D | FrontendActions.cpp | 141 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); local 142 PPOpts.RemappedFiles.insert(PPOpts.RemappedFiles.end(), 144 PPOpts.RemappedFilesKeepOriginalName = false;
|
/external/clang/lib/Frontend/ |
H A D | FrontendAction.cpp | 259 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); local 260 StringRef PCHInclude = PPOpts.ImplicitPCHInclude; 273 PPOpts.ImplicitPCHInclude = Dir->path();
|
H A D | CompilerInstance.cpp | 290 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); local 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(); local 872 PPOpts.resetNonModularOptions(); 877 PPOpts.Macros.erase( 878 std::remove_if(PPOpts 1224 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); local [all...] |
H A D | ASTUnit.cpp | 250 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local 251 for (const auto &RB : PPOpts.RemappedFileBuffers) 701 PreprocessorOptions *PPOpts = new PreprocessorOptions(); local 704 PPOpts->addRemappedFile(RemappedFiles[I].first, RemappedFiles[I].second); 712 new Preprocessor(PPOpts, AST->getDiagnostics(), AST->ASTFileLangOpts, 1991 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); local 1992 PPOpts.RemappedFilesKeepOriginalName = RemappedFilesKeepOriginalName; 1993 PPOpts.AllowPCHWithCompilerErrors = AllowPCHWithCompilerErrors; 2053 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local 2054 for (const auto &RB : PPOpts [all...] |
/external/clang/tools/arcmt-test/ |
H A D | arcmt-test.cpp | 139 PreprocessorOptions PPOpts; local 140 remapper.applyMappings(PPOpts); 142 for (const auto &RB : PPOpts.RemappedFileBuffers)
|
/external/clang/unittests/Lex/ |
H A D | PPCallbacksTest.cpp | 173 IntrusiveRefCntPtr<PreprocessorOptions> PPOpts = new PreprocessorOptions(); local 174 Preprocessor PP(PPOpts, Diags, LangOpts, SourceMgr, HeaderInfo, ModLoader,
|
/external/clang/lib/ARCMigrate/ |
H A D | ARCMT.cpp | 172 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); local 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;
|
/external/clang/lib/Lex/ |
H A D | Preprocessor.cpp | 57 Preprocessor::Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts, argument 63 : PPOpts(PPOpts), Diags(&diags), LangOpts(opts), Target(nullptr),
|
/external/clang/tools/libclang/ |
H A D | Indexing.cpp | 419 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); variable 421 if (!PPOpts.ImplicitPCHInclude.empty()) { 423 CI.getFileManager().getFile(PPOpts.ImplicitPCHInclude)); 629 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); local 630 PPOpts.AllowPCHWithCompilerErrors = true; 641 PPOpts.DetailedRecord = true; 645 PPOpts.DetailedRecord = false;
|
/external/clang/include/clang/Lex/ |
H A D | Preprocessor.h | 89 IntrusiveRefCntPtr<PreprocessorOptions> PPOpts; member in class:clang::Preprocessor 456 Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts, 474 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; }
|
/external/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 167 virtual bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, argument 221 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, 249 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain, 1456 const PreprocessorOptions &PPOpts);
|
/external/clang/lib/Serialization/ |
H A D | 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, argument 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, argument 463 collectMacroDefinitions(PPOpts, ASTFileMacros); 519 if (PPOpts 111 ReadPreprocessorOptions( const PreprocessorOptions &PPOpts, bool Complain, std::string &SuggestedPredefines) argument 567 ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain, std::string &SuggestedPredefines) argument 4183 isAcceptableASTFile(StringRef Filename, FileManager &FileMgr, const LangOptions &LangOpts, const TargetOptions &TargetOpts, const PreprocessorOptions &PPOpts) argument 4666 PreprocessorOptions PPOpts; local [all...] |
H A D | ASTWriter.cpp | 1209 const PreprocessorOptions &PPOpts = PP.getPreprocessorOpts(); local 1212 Record.push_back(PPOpts.Macros.size()); 1213 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) { 1214 AddString(PPOpts.Macros[I].first, Record); 1215 Record.push_back(PPOpts.Macros[I].second); 1219 Record.push_back(PPOpts.Includes.size()); 1220 for (unsigned I = 0, N = PPOpts.Includes.size(); I != N; ++I) 1221 AddString(PPOpts.Includes[I], Record); 1224 Record.push_back(PPOpts.MacroIncludes.size()); 1225 for (unsigned I = 0, N = PPOpts [all...] |