Lines Matching refs:PPOpts
123 const PreprocessorOptions &PPOpts, bool Complain, in ReadPreprocessorOptions() argument
125 return First->ReadPreprocessorOptions(PPOpts, Complain, in ReadPreprocessorOptions()
127 Second->ReadPreprocessorOptions(PPOpts, Complain, SuggestedPredefines); in ReadPreprocessorOptions()
454 collectMacroDefinitions(const PreprocessorOptions &PPOpts, in collectMacroDefinitions() argument
457 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) { in collectMacroDefinitions()
458 StringRef Macro = PPOpts.Macros[I].first; in collectMacroDefinitions()
459 bool IsUndef = PPOpts.Macros[I].second; in collectMacroDefinitions()
493 static bool checkPreprocessorOptions(const PreprocessorOptions &PPOpts, in checkPreprocessorOptions() argument
501 collectMacroDefinitions(PPOpts, ASTFileMacros); in checkPreprocessorOptions()
557 if (PPOpts.UsePredefines != ExistingPPOpts.UsePredefines) { in checkPreprocessorOptions()
566 PPOpts.DetailedRecord != ExistingPPOpts.DetailedRecord) { in checkPreprocessorOptions()
568 Diags->Report(diag::err_pch_pp_detailed_record) << PPOpts.DetailedRecord; in checkPreprocessorOptions()
579 if (std::find(PPOpts.Includes.begin(), PPOpts.Includes.end(), File) in checkPreprocessorOptions()
580 != PPOpts.Includes.end()) in checkPreprocessorOptions()
590 if (std::find(PPOpts.MacroIncludes.begin(), PPOpts.MacroIncludes.end(), in checkPreprocessorOptions()
592 != PPOpts.MacroIncludes.end()) in checkPreprocessorOptions()
603 bool PCHValidator::ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument
608 return checkPreprocessorOptions(PPOpts, ExistingPPOpts, in ReadPreprocessorOptions()
4180 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument
4183 return checkPreprocessorOptions(ExistingPPOpts, PPOpts, nullptr, FileMgr, in ReadPreprocessorOptions()
4400 const TargetOptions &TargetOpts, const PreprocessorOptions &PPOpts, in isAcceptableASTFile() argument
4402 SimplePCHValidator validator(LangOpts, TargetOpts, PPOpts, in isAcceptableASTFile()
4793 PreprocessorOptions PPOpts; in ParsePreprocessorOptions() local
4800 PPOpts.Macros.push_back(std::make_pair(Macro, IsUndef)); in ParsePreprocessorOptions()
4805 PPOpts.Includes.push_back(ReadString(Record, Idx)); in ParsePreprocessorOptions()
4810 PPOpts.MacroIncludes.push_back(ReadString(Record, Idx)); in ParsePreprocessorOptions()
4813 PPOpts.UsePredefines = Record[Idx++]; in ParsePreprocessorOptions()
4814 PPOpts.DetailedRecord = Record[Idx++]; in ParsePreprocessorOptions()
4815 PPOpts.ImplicitPCHInclude = ReadString(Record, Idx); in ParsePreprocessorOptions()
4816 PPOpts.ImplicitPTHInclude = ReadString(Record, Idx); in ParsePreprocessorOptions()
4817 PPOpts.ObjCXXARCStandardLibrary = in ParsePreprocessorOptions()
4820 return Listener.ReadPreprocessorOptions(PPOpts, Complain, in ParsePreprocessorOptions()