| /freebsd-13.1/contrib/llvm-project/clang/lib/Lex/ |
| H A D | Preprocessor.cpp | 85 : PPOpts(std::move(PPOpts)), Diags(&diags), LangOpts(opts), in Preprocessor() 154 if (!this->PPOpts->PCHThroughHeader.empty() && in Preprocessor() 155 !this->PPOpts->ImplicitPCHInclude.empty()) in Preprocessor() 158 if (this->PPOpts->GeneratePreamble) in Preprocessor() 566 if (!PPOpts->PCHThroughHeader.empty()) { in EnterMainSourceFile() 571 SourceLocation(), PPOpts->PCHThroughHeader, in EnterMainSourceFile() 578 << PPOpts->PCHThroughHeader; in EnterMainSourceFile() 614 return TUKind == TU_Prefix && PPOpts->PCHWithHdrStop; in creatingPCHWithPragmaHdrStop() 618 return TUKind != TU_Prefix && PPOpts->PCHWithHdrStop; in usingPCHWithPragmaHdrStop() 660 << PPOpts->PCHThroughHeader << 1; in SkipTokensWhileUsingPCH() [all …]
|
| H A D | PPDirectives.cpp | 2041 if (PPOpts->SingleFileParseMode) in HandleHeaderIncludeOrImport() 3085 bool RetainExcludedCB = PPOpts->RetainExcludedConditionalBlocks && in HandleIfdefDirective() 3089 if (PPOpts->SingleFileParseMode && !MI) { in HandleIfdefDirective() 3140 bool RetainExcludedCB = PPOpts->RetainExcludedConditionalBlocks && in HandleIfDirective() 3144 if (PPOpts->SingleFileParseMode && DER.IncludedUndefinedIds) { in HandleIfDirective() 3211 bool RetainExcludedCB = PPOpts->RetainExcludedConditionalBlocks && in HandleElseDirective() 3214 if ((PPOpts->SingleFileParseMode && !CI.FoundNonSkip) || RetainExcludedCB) { in HandleElseDirective() 3274 bool RetainExcludedCB = PPOpts->RetainExcludedConditionalBlocks && in HandleElifFamilyDirective() 3277 if ((PPOpts->SingleFileParseMode && !CI.FoundNonSkip) || RetainExcludedCB) { in HandleElifFamilyDirective()
|
| H A D | PPLexerChange.cpp | 553 << PPOpts->PCHThroughHeader << 0; in HandleEndOfFile()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | FrontendActions.cpp | 153 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginInvocation() local 154 PPOpts.RemappedFiles.insert(PPOpts.RemappedFiles.end(), in BeginInvocation() 156 PPOpts.RemappedFilesKeepOriginalName = false; in BeginInvocation()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | FileRemapper.cpp | 209 void FileRemapper::applyMappings(PreprocessorOptions &PPOpts) const { in applyMappings() 213 PPOpts.addRemappedFile(I->first->getName(), FE->getName()); in applyMappings() 216 PPOpts.addRemappedFile(I->first->getName(), mem); in applyMappings() 220 PPOpts.RetainRemappedFileBuffers = true; in applyMappings()
|
| H A D | ARCMT.cpp | 178 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in createInvocationForMigration() local 179 if (!PPOpts.ImplicitPCHInclude.empty()) { in createInvocationForMigration() 188 PPOpts.ImplicitPCHInclude, FileMgr, PCHContainerRdr, *Diags); in createInvocationForMigration() 190 PPOpts.Includes.insert(PPOpts.Includes.begin(), OriginalFile); in createInvocationForMigration() 191 PPOpts.ImplicitPCHInclude.clear(); in createInvocationForMigration()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | CompilerInstance.cpp | 228 if (PPOpts.ImplicitPCHInclude.empty()) in collectIncludePCH() 231 StringRef PCHInclude = PPOpts.ImplicitPCHInclude; in collectIncludePCH() 463 if (PPOpts.DetailedRecord) in createPreprocessor() 468 PP->getFileManager(), PPOpts); in createPreprocessor() 1075 PPOpts.resetNonModularOptions(); 1080 PPOpts.Macros.erase( 1081 std::remove_if(PPOpts.Macros.begin(), PPOpts.Macros.end(), 1087 PPOpts.Macros.end()); 1104 PPOpts.FailedModules = ImportingPPOpts.FailedModules; 1120 PPOpts.RetainRemappedFileBuffers = true; [all …]
|
| H A D | ASTUnit.cpp | 264 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in ~ASTUnit() local 265 for (const auto &RB : PPOpts.RemappedFileBuffers) in ~ASTUnit() 521 PreprocessorOptions &PPOpts; member in __anon013d40a50211::ASTInfoCollector 534 : PP(PP), Context(Context), HSOpts(HSOpts), PPOpts(PPOpts), in ASTInfoCollector() 559 this->PPOpts = PPOpts; in ReadPreprocessorOptions() 793 AST->PPOpts = std::make_shared<PreprocessorOptions>(); in LoadFromASTFile() 801 AST->PPOpts, AST->getDiagnostics(), *AST->LangOpts, in LoadFromASTFile() 1745 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); in LoadFromCommandLine() local 1747 PPOpts.AllowPCHWithCompilerErrors = AllowPCHWithCompilerErrors; in LoadFromCommandLine() 1748 PPOpts.SingleFileParseMode = SingleFileParse; in LoadFromCommandLine() [all …]
|
| H A D | FrontendActions.cpp | 641 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument 645 DUMP_BOOLEAN(PPOpts.UsePredefines, in ReadPreprocessorOptions() 647 DUMP_BOOLEAN(PPOpts.DetailedRecord, in ReadPreprocessorOptions() 650 if (!PPOpts.Macros.empty()) { in ReadPreprocessorOptions() 655 I = PPOpts.Macros.begin(), IEnd = PPOpts.Macros.end(); in ReadPreprocessorOptions()
|
| H A D | FrontendAction.cpp | 726 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginSourceFile() local 727 StringRef PCHInclude = PPOpts.ImplicitPCHInclude; in BeginSourceFile() 743 PPOpts.ImplicitPCHInclude = std::string(Dir->path()); in BeginSourceFile()
|
| H A D | InitPreprocessor.cpp | 639 const PreprocessorOptions &PPOpts, in InitializePredefinedMacros() argument 1091 if (PPOpts.SetUpStaticAnalyzer) in InitializePredefinedMacros()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/ARCMigrate/ |
| H A D | FileRemapper.h | 58 void applyMappings(PreprocessorOptions &PPOpts) const;
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | ASTUnit.h | 120 std::shared_ptr<PreprocessorOptions> PPOpts; variable 472 assert(PPOpts && "ASTUnit does not have preprocessor options"); in getPreprocessorOpts() 473 return *PPOpts; in getPreprocessorOpts()
|
| H A D | Utils.h | 65 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 135 const PreprocessorOptions &PPOpts, in BackendConsumer() argument 147 Gen(CreateLLVMCodeGen(Diags, InFile, HeaderSearchOpts, PPOpts, in BackendConsumer() 160 const PreprocessorOptions &PPOpts, in BackendConsumer() argument 171 Gen(CreateLLVMCodeGen(Diags, "", HeaderSearchOpts, PPOpts, in BackendConsumer()
|
| H A D | CGDebugInfo.cpp | 2586 const auto &PPOpts = CGM.getPreprocessorOpts(); in getOrCreateModuleRef() local 2589 for (auto &M : PPOpts.Macros) { in getOrCreateModuleRef()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | ASTReader.h | 184 virtual bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument 259 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, 290 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain, 311 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain, 1722 const PreprocessorOptions &PPOpts,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 593 StringRef Macro = PPOpts.Macros[I].first; in collectMacroDefinitions() 594 bool IsUndef = PPOpts.Macros[I].second; in collectMacroDefinitions() 729 if (std::find(PPOpts.Includes.begin(), PPOpts.Includes.end(), File) in checkPreprocessorOptions() 730 != PPOpts.Includes.end()) in checkPreprocessorOptions() 740 if (std::find(PPOpts.MacroIncludes.begin(), PPOpts.MacroIncludes.end(), in checkPreprocessorOptions() 742 != PPOpts.MacroIncludes.end()) in checkPreprocessorOptions() 769 return checkPreprocessorOptions(PPOpts, in ReadPreprocessorOptions() 5890 PreprocessorOptions PPOpts; in ParsePreprocessorOptions() local 5910 PPOpts.UsePredefines = Record[Idx++]; in ParsePreprocessorOptions() 5911 PPOpts.DetailedRecord = Record[Idx++]; in ParsePreprocessorOptions() [all …]
|
| H A D | ASTWriter.cpp | 1335 const PreprocessorOptions &PPOpts = PP.getPreprocessorOpts(); in WriteControlBlock() local 1338 Record.push_back(PPOpts.Macros.size()); in WriteControlBlock() 1340 AddString(PPOpts.Macros[I].first, Record); in WriteControlBlock() 1341 Record.push_back(PPOpts.Macros[I].second); in WriteControlBlock() 1345 Record.push_back(PPOpts.Includes.size()); in WriteControlBlock() 1347 AddString(PPOpts.Includes[I], Record); in WriteControlBlock() 1350 Record.push_back(PPOpts.MacroIncludes.size()); in WriteControlBlock() 1352 AddString(PPOpts.MacroIncludes[I], Record); in WriteControlBlock() 1354 Record.push_back(PPOpts.UsePredefines); in WriteControlBlock() 1356 Record.push_back(PPOpts.DetailedRecord); in WriteControlBlock() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | Preprocessor.h | 134 std::shared_ptr<PreprocessorOptions> PPOpts; variable 887 Preprocessor(std::shared_ptr<PreprocessorOptions> PPOpts, 918 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; } in getPreprocessorOpts()
|