Lines Matching refs:PPOpts

208     const PreprocessorOptions &PPOpts, bool Complain,  in ReadPreprocessorOptions()  argument
210 return First->ReadPreprocessorOptions(PPOpts, Complain, in ReadPreprocessorOptions()
212 Second->ReadPreprocessorOptions(PPOpts, Complain, SuggestedPredefines); in ReadPreprocessorOptions()
589 collectMacroDefinitions(const PreprocessorOptions &PPOpts, in collectMacroDefinitions() argument
592 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) { in collectMacroDefinitions()
593 StringRef Macro = PPOpts.Macros[I].first; in collectMacroDefinitions()
594 bool IsUndef = PPOpts.Macros[I].second; in collectMacroDefinitions()
631 static bool checkPreprocessorOptions(const PreprocessorOptions &PPOpts, in checkPreprocessorOptions() argument
640 collectMacroDefinitions(PPOpts, ASTFileMacros); in checkPreprocessorOptions()
696 if (PPOpts.UsePredefines != ExistingPPOpts.UsePredefines && Validate) { in checkPreprocessorOptions()
705 PPOpts.DetailedRecord != ExistingPPOpts.DetailedRecord && Validate) { in checkPreprocessorOptions()
707 Diags->Report(diag::err_pch_pp_detailed_record) << PPOpts.DetailedRecord; in checkPreprocessorOptions()
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()
753 bool PCHValidator::ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument
758 return checkPreprocessorOptions(PPOpts, ExistingPPOpts, in ReadPreprocessorOptions()
766 const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument
769 return checkPreprocessorOptions(PPOpts, in ReadPreprocessorOptions()
5149 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument
5152 return checkPreprocessorOptions(ExistingPPOpts, PPOpts, nullptr, FileMgr, in ReadPreprocessorOptions()
5429 const PreprocessorOptions &PPOpts, in isAcceptableASTFile() argument
5431 SimplePCHValidator validator(LangOpts, TargetOpts, PPOpts, in isAcceptableASTFile()
5874 PreprocessorOptions PPOpts; in ParsePreprocessorOptions() local
5881 PPOpts.Macros.push_back(std::make_pair(Macro, IsUndef)); in ParsePreprocessorOptions()
5886 PPOpts.Includes.push_back(ReadString(Record, Idx)); in ParsePreprocessorOptions()
5891 PPOpts.MacroIncludes.push_back(ReadString(Record, Idx)); in ParsePreprocessorOptions()
5894 PPOpts.UsePredefines = Record[Idx++]; in ParsePreprocessorOptions()
5895 PPOpts.DetailedRecord = Record[Idx++]; in ParsePreprocessorOptions()
5896 PPOpts.ImplicitPCHInclude = ReadString(Record, Idx); in ParsePreprocessorOptions()
5897 PPOpts.ObjCXXARCStandardLibrary = in ParsePreprocessorOptions()
5900 return Listener.ReadPreprocessorOptions(PPOpts, Complain, in ParsePreprocessorOptions()