Searched refs:PPOpts (Results 1 - 22 of 22) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp153 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 DFileRemapper.h58 void applyMappings(PreprocessorOptions &PPOpts) const;
/netbsd-current/external/apache2/llvm/dist/clang/lib/Lex/
H A DPreprocessor.cpp79 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 DPPDirectives.cpp1970 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 DPPLexerChange.cpp512 << PPOpts->PCHThroughHeader << 0;
H A DPPMacroExpansion.cpp1546 remapMacroPath(FN, PPOpts->MacroPrefixMap);
/netbsd-current/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DFileRemapper.cpp209 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 DARCMT.cpp178 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 DASTUnit.cpp264 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 DCompilerInstance.cpp227 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 DFrontendActions.cpp619 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 DFrontendAction.cpp726 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); local
727 StringRef PCHInclude = PPOpts.ImplicitPCHInclude;
743 PPOpts.ImplicitPCHInclude = std::string(Dir->path());
H A DInitPreprocessor.cpp637 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 DIndexing.cpp350 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 DUtils.h65 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts,
H A DASTUnit.h120 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 DCodeGenAction.cpp135 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 DCGDebugInfo.cpp2605 const auto &PPOpts = CGM.getPreprocessorOpts(); local
2608 for (auto &M : PPOpts.Macros) {
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Serialization/
H A DASTReader.h184 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 DASTReader.cpp208 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 DASTWriter.cpp1335 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 DPreprocessor.h134 std::shared_ptr<PreprocessorOptions> PPOpts; member in class:clang::Preprocessor
886 Preprocessor(std::shared_ptr<PreprocessorOptions> PPOpts,
917 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; }

Completed in 407 milliseconds