Lines Matching refs:PPOpts
210 const PreprocessorOptions &PPOpts, bool Complain, in ReadPreprocessorOptions() argument
212 return First->ReadPreprocessorOptions(PPOpts, Complain, in ReadPreprocessorOptions()
214 Second->ReadPreprocessorOptions(PPOpts, Complain, SuggestedPredefines); in ReadPreprocessorOptions()
592 collectMacroDefinitions(const PreprocessorOptions &PPOpts, in collectMacroDefinitions() argument
595 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) { in collectMacroDefinitions()
596 StringRef Macro = PPOpts.Macros[I].first; in collectMacroDefinitions()
597 bool IsUndef = PPOpts.Macros[I].second; in collectMacroDefinitions()
644 const PreprocessorOptions &PPOpts, in checkPreprocessorOptions() argument
651 collectMacroDefinitions(PPOpts, ASTFileMacros); in checkPreprocessorOptions()
727 if (PPOpts.UsePredefines != ExistingPPOpts.UsePredefines && in checkPreprocessorOptions()
737 PPOpts.DetailedRecord != ExistingPPOpts.DetailedRecord && in checkPreprocessorOptions()
740 Diags->Report(diag::err_pch_pp_detailed_record) << PPOpts.DetailedRecord; in checkPreprocessorOptions()
762 if (llvm::is_contained(PPOpts.Includes, File)) in checkPreprocessorOptions()
772 if (llvm::is_contained(PPOpts.MacroIncludes, File)) in checkPreprocessorOptions()
783 bool PCHValidator::ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument
788 return checkPreprocessorOptions(PPOpts, ExistingPPOpts, in ReadPreprocessorOptions()
796 const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument
799 return checkPreprocessorOptions(PPOpts, PP.getPreprocessorOpts(), nullptr, in ReadPreprocessorOptions()
813 const PreprocessorOptions &PPOpts) { in checkHeaderSearchOptions() argument
816 !PPOpts.AllowPCHWithDifferentModulesCachePath) { in checkHeaderSearchOptions()
5201 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions() argument
5205 PPOpts, ExistingPPOpts, /*Diags=*/nullptr, FileMgr, in ReadPreprocessorOptions()
5484 const PreprocessorOptions &PPOpts, in isAcceptableASTFile() argument
5487 SimplePCHValidator validator(LangOpts, TargetOpts, PPOpts, in isAcceptableASTFile()
5928 PreprocessorOptions PPOpts; in ParsePreprocessorOptions() local
5935 PPOpts.Macros.push_back(std::make_pair(Macro, IsUndef)); in ParsePreprocessorOptions()
5940 PPOpts.Includes.push_back(ReadString(Record, Idx)); in ParsePreprocessorOptions()
5945 PPOpts.MacroIncludes.push_back(ReadString(Record, Idx)); in ParsePreprocessorOptions()
5948 PPOpts.UsePredefines = Record[Idx++]; in ParsePreprocessorOptions()
5949 PPOpts.DetailedRecord = Record[Idx++]; in ParsePreprocessorOptions()
5950 PPOpts.ImplicitPCHInclude = ReadString(Record, Idx); in ParsePreprocessorOptions()
5951 PPOpts.ObjCXXARCStandardLibrary = in ParsePreprocessorOptions()
5954 return Listener.ReadPreprocessorOptions(PPOpts, Complain, in ParsePreprocessorOptions()