| /NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| HD | FrontendActions.cpp | 142 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginInvocation() local 143 PPOpts.RemappedFiles.insert(PPOpts.RemappedFiles.end(), in BeginInvocation() 145 PPOpts.RemappedFilesKeepOriginalName = false; in BeginInvocation()
|
| /NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| HD | ARCMT.cpp | 173 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in createInvocationForMigration() local 174 if (!PPOpts.ImplicitPCHInclude.empty()) { in createInvocationForMigration() 183 PPOpts.ImplicitPCHInclude, FileMgr, PCHContainerRdr, *Diags); in createInvocationForMigration() 185 PPOpts.Includes.insert(PPOpts.Includes.begin(), OriginalFile); in createInvocationForMigration() 186 PPOpts.ImplicitPCHInclude.clear(); in createInvocationForMigration() 415 PreprocessorOptions PPOpts; in getFileRemappings() local 416 remapper.applyMappings(PPOpts); in getFileRemappings() 417 remap = PPOpts.RemappedFiles; in getFileRemappings()
|
| HD | FileRemapper.cpp | 192 void FileRemapper::applyMappings(PreprocessorOptions &PPOpts) const { in applyMappings() 196 PPOpts.addRemappedFile(I->first->getName(), FE->getName()); in applyMappings() 199 PPOpts.addRemappedFile(I->first->getName(), mem); in applyMappings() 203 PPOpts.RetainRemappedFileBuffers = true; in applyMappings()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Frontend/ |
| HD | CompilerInstance.cpp | 291 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createPreprocessor() local 295 if (!PPOpts.TokenCache.empty()) in createPreprocessor() 296 PTHMgr = PTHManager::Create(PPOpts.TokenCache, getDiagnostics()); in createPreprocessor() 317 if (PPOpts.DetailedRecord) in createPreprocessor() 322 PP->getFileManager(), PPOpts); in createPreprocessor() 325 InitializePreprocessor(*PP, PPOpts, getPCHContainerReader(), in createPreprocessor() 878 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in compileModuleImpl() local 883 PPOpts.resetNonModularOptions(); in compileModuleImpl() 888 PPOpts.Macros.erase( in compileModuleImpl() 889 std::remove_if(PPOpts.Macros.begin(), PPOpts.Macros.end(), in compileModuleImpl() [all …]
|
| HD | FrontendActions.cpp | 537 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument 541 DUMP_BOOLEAN(PPOpts.UsePredefines, in ReadPreprocessorOptions() 543 DUMP_BOOLEAN(PPOpts.DetailedRecord, in ReadPreprocessorOptions() 546 if (!PPOpts.Macros.empty()) { in ReadPreprocessorOptions() 551 I = PPOpts.Macros.begin(), IEnd = PPOpts.Macros.end(); in ReadPreprocessorOptions()
|
| HD | FrontendAction.cpp | 264 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginSourceFile() local 265 StringRef PCHInclude = PPOpts.ImplicitPCHInclude; in BeginSourceFile() 279 PPOpts.ImplicitPCHInclude = Dir->path(); in BeginSourceFile()
|
| HD | ASTUnit.cpp | 249 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in ~ASTUnit() local 250 for (const auto &RB : PPOpts.RemappedFileBuffers) in ~ASTUnit() 686 PreprocessorOptions *PPOpts = new PreprocessorOptions(); in LoadFromASTFile() local 689 PPOpts->addRemappedFile(RemappedFile.first, RemappedFile.second); in LoadFromASTFile() 697 new Preprocessor(PPOpts, AST->getDiagnostics(), AST->ASTFileLangOpts, in LoadFromASTFile() 1964 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); in LoadFromCommandLine() local 1965 PPOpts.RemappedFilesKeepOriginalName = RemappedFilesKeepOriginalName; in LoadFromCommandLine() 1966 PPOpts.AllowPCHWithCompilerErrors = AllowPCHWithCompilerErrors; in LoadFromCommandLine() 2028 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in Reparse() local 2029 for (const auto &RB : PPOpts.RemappedFileBuffers) in Reparse()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/ARCMigrate/ |
| HD | FileRemapper.h | 57 void applyMappings(PreprocessorOptions &PPOpts) const;
|
| /NextBSD/contrib/llvm/tools/clang/lib/Serialization/ |
| HD | ASTReader.cpp | 122 const PreprocessorOptions &PPOpts, bool Complain, in ReadPreprocessorOptions() argument 124 return First->ReadPreprocessorOptions(PPOpts, Complain, in ReadPreprocessorOptions() 126 Second->ReadPreprocessorOptions(PPOpts, Complain, SuggestedPredefines); in ReadPreprocessorOptions() 443 collectMacroDefinitions(const PreprocessorOptions &PPOpts, in collectMacroDefinitions() argument 446 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) { in collectMacroDefinitions() 447 StringRef Macro = PPOpts.Macros[I].first; in collectMacroDefinitions() 448 bool IsUndef = PPOpts.Macros[I].second; in collectMacroDefinitions() 482 static bool checkPreprocessorOptions(const PreprocessorOptions &PPOpts, in checkPreprocessorOptions() argument 490 collectMacroDefinitions(PPOpts, ASTFileMacros); in checkPreprocessorOptions() 546 if (PPOpts.UsePredefines != ExistingPPOpts.UsePredefines) { in checkPreprocessorOptions() [all …]
|
| HD | ASTWriter.cpp | 1377 const PreprocessorOptions &PPOpts = PP.getPreprocessorOpts(); in WriteControlBlock() local 1380 Record.push_back(PPOpts.Macros.size()); in WriteControlBlock() 1381 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) { in WriteControlBlock() 1382 AddString(PPOpts.Macros[I].first, Record); in WriteControlBlock() 1383 Record.push_back(PPOpts.Macros[I].second); in WriteControlBlock() 1387 Record.push_back(PPOpts.Includes.size()); in WriteControlBlock() 1388 for (unsigned I = 0, N = PPOpts.Includes.size(); I != N; ++I) in WriteControlBlock() 1389 AddString(PPOpts.Includes[I], Record); in WriteControlBlock() 1392 Record.push_back(PPOpts.MacroIncludes.size()); in WriteControlBlock() 1393 for (unsigned I = 0, N = PPOpts.MacroIncludes.size(); I != N; ++I) in WriteControlBlock() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/Lex/ |
| HD | Preprocessor.cpp | 58 Preprocessor::Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts, in Preprocessor() argument 64 : PPOpts(PPOpts), Diags(&diags), LangOpts(opts), Target(nullptr), in Preprocessor()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Frontend/ |
| HD | Utils.h | 65 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts,
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Serialization/ |
| HD | ASTReader.h | 171 virtual bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument 238 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, 266 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain, 1478 const PreprocessorOptions &PPOpts,
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Lex/ |
| HD | Preprocessor.h | 97 IntrusiveRefCntPtr<PreprocessorOptions> PPOpts; variable 645 Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts, 674 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; } in getPreprocessorOpts()
|
| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CodeGenAction.cpp | 61 const PreprocessorOptions &PPOpts, in BackendConsumer() argument 71 Gen(CreateLLVMCodeGen(Diags, InFile, HeaderSearchOpts, PPOpts, in BackendConsumer()
|
| HD | CGDebugInfo.cpp | 1626 const auto &PPOpts = CGM.getPreprocessorOpts(); in getOrCreateModuleRef() local 1629 for (auto &M : PPOpts.Macros) { in getOrCreateModuleRef()
|