/netbsd-current/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/ |
H A D | FrontendActions.cpp | 153 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); local 154 PPOpts.RemappedFiles.insert(PPOpts.RemappedFiles.end(), 156 PPOpts.RemappedFilesKeepOriginalName = false;
|
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/ARCMigrate/ |
H A D | FileRemapper.h | 58 void applyMappings(PreprocessorOptions &PPOpts) const;
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Lex/ |
H A D | Preprocessor.cpp | 79 Preprocessor::Preprocessor(std::shared_ptr<PreprocessorOptions> PPOpts, argument 85 : PPOpts(std::move(PPOpts)), Diags(&diags), LangOpts(opts), 154 if (!this->PPOpts->PCHThroughHeader.empty() && 155 !this->PPOpts->ImplicitPCHInclude.empty()) 158 if (this->PPOpts->GeneratePreamble) 162 this->PPOpts->ExcludedConditionalDirectiveSkipMappings; 566 if (!PPOpts->PCHThroughHeader.empty()) { 571 SourceLocation(), PPOpts->PCHThroughHeader, 578 << PPOpts [all...] |
H A D | PPDirectives.cpp | 1970 if (PPOpts->SingleFileParseMode) 3014 bool RetainExcludedCB = PPOpts->RetainExcludedConditionalBlocks && 3018 if (PPOpts->SingleFileParseMode && !MI) { 3069 bool RetainExcludedCB = PPOpts->RetainExcludedConditionalBlocks && 3073 if (PPOpts->SingleFileParseMode && DER.IncludedUndefinedIds) { 3140 bool RetainExcludedCB = PPOpts->RetainExcludedConditionalBlocks && 3143 if ((PPOpts->SingleFileParseMode && !CI.FoundNonSkip) || RetainExcludedCB) { 3185 bool RetainExcludedCB = PPOpts->RetainExcludedConditionalBlocks && 3188 if ((PPOpts->SingleFileParseMode && !CI.FoundNonSkip) || RetainExcludedCB) {
|
H A D | PPLexerChange.cpp | 512 << PPOpts->PCHThroughHeader << 0;
|
H A D | PPMacroExpansion.cpp | 1546 remapMacroPath(FN, PPOpts->MacroPrefixMap);
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/ARCMigrate/ |
H A D | FileRemapper.cpp | 209 void FileRemapper::applyMappings(PreprocessorOptions &PPOpts) const { 213 PPOpts.addRemappedFile(I->first->getName(), FE->getName()); 216 PPOpts.addRemappedFile(I->first->getName(), mem); 220 PPOpts.RetainRemappedFileBuffers = true;
|
H A D | ARCMT.cpp | 178 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); local 179 if (!PPOpts.ImplicitPCHInclude.empty()) { 188 PPOpts.ImplicitPCHInclude, FileMgr, PCHContainerRdr, *Diags); 190 PPOpts.Includes.insert(PPOpts.Includes.begin(), OriginalFile); 191 PPOpts.ImplicitPCHInclude.clear();
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 264 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local 265 for (const auto &RB : PPOpts.RemappedFileBuffers) 521 PreprocessorOptions &PPOpts; member in class:__anon616::ASTInfoCollector 530 HeaderSearchOptions &HSOpts, PreprocessorOptions &PPOpts, 534 : PP(PP), Context(Context), HSOpts(HSOpts), PPOpts(PPOpts), 557 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain, 559 this->PPOpts = PPOpts; 793 AST->PPOpts 529 ASTInfoCollector(Preprocessor &PP, ASTContext *Context, HeaderSearchOptions &HSOpts, PreprocessorOptions &PPOpts, LangOptions &LangOpt, std::shared_ptr<TargetOptions> &TargetOpts, IntrusiveRefCntPtr<TargetInfo> &Target, unsigned &Counter) argument 1744 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); local 1824 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local [all...] |
H A D | CompilerInstance.cpp | 227 const PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); local 228 if (PPOpts.ImplicitPCHInclude.empty()) 231 StringRef PCHInclude = PPOpts.ImplicitPCHInclude; 446 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); local 463 if (PPOpts.DetailedRecord) 468 PP->getFileManager(), PPOpts); 471 InitializePreprocessor(*PP, PPOpts, getPCHContainerReader(), 1053 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local 1058 PPOpts.resetNonModularOptions(); 1063 PPOpts 1501 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); local [all...] |
H A D | FrontendActions.cpp | 619 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, 623 DUMP_BOOLEAN(PPOpts.UsePredefines, 625 DUMP_BOOLEAN(PPOpts.DetailedRecord, 628 if (!PPOpts.Macros.empty()) { 633 I = PPOpts.Macros.begin(), IEnd = PPOpts.Macros.end();
|
H A D | FrontendAction.cpp | 726 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); local 727 StringRef PCHInclude = PPOpts.ImplicitPCHInclude; 743 PPOpts.ImplicitPCHInclude = std::string(Dir->path());
|
H A D | InitPreprocessor.cpp | 637 const PreprocessorOptions &PPOpts, 1089 if (PPOpts.SetUpStaticAnalyzer) 634 InitializePredefinedMacros(const TargetInfo &TI, const LangOptions &LangOpts, const FrontendOptions &FEOpts, const PreprocessorOptions &PPOpts, MacroBuilder &Builder) argument
|
/netbsd-current/external/apache2/llvm/dist/clang/tools/libclang/ |
H A D | Indexing.cpp | 350 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); variable 352 if (!PPOpts.ImplicitPCHInclude.empty()) { 353 auto File = CI.getFileManager().getFile(PPOpts.ImplicitPCHInclude); 590 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); local 591 PPOpts.AllowPCHWithCompilerErrors = true; 604 PPOpts.DetailedRecord = true; 608 PPOpts.DetailedRecord = false;
|
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Frontend/ |
H A D | Utils.h | 65 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts,
|
H A D | ASTUnit.h | 120 std::shared_ptr<PreprocessorOptions> PPOpts; member in class:clang::ASTUnit 472 assert(PPOpts && "ASTUnit does not have preprocessor options"); 473 return *PPOpts;
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CodeGenAction.cpp | 135 const PreprocessorOptions &PPOpts, 147 Gen(CreateLLVMCodeGen(Diags, InFile, HeaderSearchOpts, PPOpts, 160 const PreprocessorOptions &PPOpts, 171 Gen(CreateLLVMCodeGen(Diags, "", HeaderSearchOpts, PPOpts, 133 BackendConsumer(BackendAction Action, DiagnosticsEngine &Diags, const HeaderSearchOptions &HeaderSearchOpts, const PreprocessorOptions &PPOpts, const CodeGenOptions &CodeGenOpts, const TargetOptions &TargetOpts, const LangOptions &LangOpts, const std::string &InFile, SmallVector<LinkModule, 4> LinkModules, std::unique_ptr<raw_pwrite_stream> OS, LLVMContext &C, CoverageSourceInfo *CoverageInfo = nullptr) argument 158 BackendConsumer(BackendAction Action, DiagnosticsEngine &Diags, const HeaderSearchOptions &HeaderSearchOpts, const PreprocessorOptions &PPOpts, const CodeGenOptions &CodeGenOpts, const TargetOptions &TargetOpts, const LangOptions &LangOpts, SmallVector<LinkModule, 4> LinkModules, LLVMContext &C, CoverageSourceInfo *CoverageInfo = nullptr) argument
|
H A D | CGDebugInfo.cpp | 2605 const auto &PPOpts = CGM.getPreprocessorOpts(); local 2608 for (auto &M : PPOpts.Macros) {
|
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 184 virtual bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, argument 259 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, 290 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain, 311 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain, 1719 const PreprocessorOptions &PPOpts,
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 208 const PreprocessorOptions &PPOpts, bool Complain, 210 return First->ReadPreprocessorOptions(PPOpts, Complain, 212 Second->ReadPreprocessorOptions(PPOpts, Complain, SuggestedPredefines); 589 collectMacroDefinitions(const PreprocessorOptions &PPOpts, argument 592 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) { 593 StringRef Macro = PPOpts.Macros[I].first; 594 bool IsUndef = PPOpts.Macros[I].second; 630 /// \p PPOpts in SuggestedPredefines. 631 static bool checkPreprocessorOptions(const PreprocessorOptions &PPOpts, argument 640 collectMacroDefinitions(PPOpts, ASTFileMacro 207 ReadPreprocessorOptions( const PreprocessorOptions &PPOpts, bool Complain, std::string &SuggestedPredefines) argument 753 ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain, std::string &SuggestedPredefines) argument 765 ReadPreprocessorOptions( const PreprocessorOptions &PPOpts, bool Complain, std::string &SuggestedPredefines) argument 5425 isAcceptableASTFile(StringRef Filename, FileManager &FileMgr, const PCHContainerReader &PCHContainerRdr, const LangOptions &LangOpts, const TargetOptions &TargetOpts, const PreprocessorOptions &PPOpts, StringRef ExistingModuleCachePath) argument 5874 PreprocessorOptions PPOpts; local [all...] |
H A D | ASTWriter.cpp | 1335 const PreprocessorOptions &PPOpts = PP.getPreprocessorOpts(); local 1338 Record.push_back(PPOpts.Macros.size()); 1339 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) { 1340 AddString(PPOpts.Macros[I].first, Record); 1341 Record.push_back(PPOpts.Macros[I].second); 1345 Record.push_back(PPOpts.Includes.size()); 1346 for (unsigned I = 0, N = PPOpts.Includes.size(); I != N; ++I) 1347 AddString(PPOpts.Includes[I], Record); 1350 Record.push_back(PPOpts.MacroIncludes.size()); 1351 for (unsigned I = 0, N = PPOpts [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Lex/ |
H A D | Preprocessor.h | 134 std::shared_ptr<PreprocessorOptions> PPOpts; member in class:clang::Preprocessor 886 Preprocessor(std::shared_ptr<PreprocessorOptions> PPOpts, 917 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; }
|