Lines Matching refs:PPOpts
202 const PreprocessorOptions &PPOpts, bool Complain, in ReadPreprocessorOptions() argument
204 return First->ReadPreprocessorOptions(PPOpts, Complain, in ReadPreprocessorOptions()
206 Second->ReadPreprocessorOptions(PPOpts, Complain, SuggestedPredefines); in ReadPreprocessorOptions()
581 collectMacroDefinitions(const PreprocessorOptions &PPOpts, in collectMacroDefinitions() argument
584 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) { in collectMacroDefinitions()
585 StringRef Macro = PPOpts.Macros[I].first; in collectMacroDefinitions()
586 bool IsUndef = PPOpts.Macros[I].second; in collectMacroDefinitions()
623 static bool checkPreprocessorOptions(const PreprocessorOptions &PPOpts, in checkPreprocessorOptions() argument
632 collectMacroDefinitions(PPOpts, ASTFileMacros); in checkPreprocessorOptions()
688 if (PPOpts.UsePredefines != ExistingPPOpts.UsePredefines && Validate) { in checkPreprocessorOptions()
697 PPOpts.DetailedRecord != ExistingPPOpts.DetailedRecord && Validate) { in checkPreprocessorOptions()
699 Diags->Report(diag::err_pch_pp_detailed_record) << PPOpts.DetailedRecord; in checkPreprocessorOptions()
721 if (std::find(PPOpts.Includes.begin(), PPOpts.Includes.end(), File) in checkPreprocessorOptions()
722 != PPOpts.Includes.end()) in checkPreprocessorOptions()
732 if (std::find(PPOpts.MacroIncludes.begin(), PPOpts.MacroIncludes.end(), in checkPreprocessorOptions()
734 != PPOpts.MacroIncludes.end()) in checkPreprocessorOptions()
745 bool PCHValidator::ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument
750 return checkPreprocessorOptions(PPOpts, ExistingPPOpts, in ReadPreprocessorOptions()
758 const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument
761 return checkPreprocessorOptions(PPOpts, in ReadPreprocessorOptions()
4708 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument
4711 return checkPreprocessorOptions(ExistingPPOpts, PPOpts, nullptr, FileMgr, in ReadPreprocessorOptions()
4937 const PreprocessorOptions &PPOpts, in isAcceptableASTFile() argument
4939 SimplePCHValidator validator(LangOpts, TargetOpts, PPOpts, in isAcceptableASTFile()
5368 PreprocessorOptions PPOpts; in ParsePreprocessorOptions() local
5375 PPOpts.Macros.push_back(std::make_pair(Macro, IsUndef)); in ParsePreprocessorOptions()
5380 PPOpts.Includes.push_back(ReadString(Record, Idx)); in ParsePreprocessorOptions()
5385 PPOpts.MacroIncludes.push_back(ReadString(Record, Idx)); in ParsePreprocessorOptions()
5388 PPOpts.UsePredefines = Record[Idx++]; in ParsePreprocessorOptions()
5389 PPOpts.DetailedRecord = Record[Idx++]; in ParsePreprocessorOptions()
5390 PPOpts.ImplicitPCHInclude = ReadString(Record, Idx); in ParsePreprocessorOptions()
5391 PPOpts.ObjCXXARCStandardLibrary = in ParsePreprocessorOptions()
5394 return Listener.ReadPreprocessorOptions(PPOpts, Complain, in ParsePreprocessorOptions()