Lines Matching refs:PPOpts
211 const PreprocessorOptions &PPOpts, bool ReadMacros, bool Complain, in ReadPreprocessorOptions() argument
213 return First->ReadPreprocessorOptions(PPOpts, ReadMacros, Complain, in ReadPreprocessorOptions()
215 Second->ReadPreprocessorOptions(PPOpts, ReadMacros, Complain, in ReadPreprocessorOptions()
609 collectMacroDefinitions(const PreprocessorOptions &PPOpts, in collectMacroDefinitions() argument
612 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) { in collectMacroDefinitions()
613 StringRef Macro = PPOpts.Macros[I].first; in collectMacroDefinitions()
614 bool IsUndef = PPOpts.Macros[I].second; in collectMacroDefinitions()
661 const PreprocessorOptions &PPOpts, in checkPreprocessorOptions() argument
669 collectMacroDefinitions(PPOpts, ASTFileMacros); in checkPreprocessorOptions()
755 if (PPOpts.UsePredefines != ExistingPPOpts.UsePredefines && in checkPreprocessorOptions()
765 PPOpts.DetailedRecord != ExistingPPOpts.DetailedRecord && in checkPreprocessorOptions()
768 Diags->Report(diag::err_pch_pp_detailed_record) << PPOpts.DetailedRecord; in checkPreprocessorOptions()
790 if (llvm::is_contained(PPOpts.Includes, File)) in checkPreprocessorOptions()
800 if (llvm::is_contained(PPOpts.MacroIncludes, File)) in checkPreprocessorOptions()
811 bool PCHValidator::ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument
817 PPOpts, ExistingPPOpts, ReadMacros, Complain ? &Reader.Diags : nullptr, in ReadPreprocessorOptions()
822 const PreprocessorOptions &PPOpts, bool ReadMacros, bool Complain, in ReadPreprocessorOptions() argument
824 return checkPreprocessorOptions(PPOpts, PP.getPreprocessorOpts(), ReadMacros, in ReadPreprocessorOptions()
839 const PreprocessorOptions &PPOpts) { in checkHeaderSearchOptions() argument
842 !PPOpts.AllowPCHWithDifferentModulesCachePath) { in checkHeaderSearchOptions()
5384 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument
5388 PPOpts, ExistingPPOpts, ReadMacros, /*Diags=*/nullptr, FileMgr, in ReadPreprocessorOptions()
5695 const PreprocessorOptions &PPOpts, in isAcceptableASTFile() argument
5698 SimplePCHValidator validator(LangOpts, TargetOpts, PPOpts, in isAcceptableASTFile()
6169 PreprocessorOptions PPOpts; in ParsePreprocessorOptions() local
6178 PPOpts.Macros.push_back(std::make_pair(Macro, IsUndef)); in ParsePreprocessorOptions()
6184 PPOpts.Includes.push_back(ReadString(Record, Idx)); in ParsePreprocessorOptions()
6189 PPOpts.MacroIncludes.push_back(ReadString(Record, Idx)); in ParsePreprocessorOptions()
6192 PPOpts.UsePredefines = Record[Idx++]; in ParsePreprocessorOptions()
6193 PPOpts.DetailedRecord = Record[Idx++]; in ParsePreprocessorOptions()
6194 PPOpts.ImplicitPCHInclude = ReadString(Record, Idx); in ParsePreprocessorOptions()
6195 PPOpts.ObjCXXARCStandardLibrary = in ParsePreprocessorOptions()
6198 return Listener.ReadPreprocessorOptions(PPOpts, ReadMacros, Complain, in ParsePreprocessorOptions()