Lines Matching refs:PP

282   const LangOptions &ExistingLangOpts = PP.getLangOpts();
289 const TargetOptions &ExistingTargetOpts = PP.getTargetInfo().getTargetOpts();
378 DiagnosticsEngine &ExistingDiags = PP.getDiagnostics();
405 Module *M = PP.getHeaderSearchInfo().lookupModule(ModuleName);
570 const PreprocessorOptions &ExistingPPOpts = PP.getPreprocessorOpts();
574 PP.getFileManager(),
576 PP.getLangOpts());
580 PP.setCounterValue(Value);
997 << PP.getHeaderSearchInfo().getModuleCachePath();
1396 MacroInfo *MI = PP.AllocateDeserializedMacroInfo(Loc, SubModID);
1417 PP.getPreprocessorAllocator());
1424 if (NextIndex + 1 == Record.size() && PP.getPreprocessingRecord() &&
1429 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord();
1735 DefMacroDirective *import(Preprocessor &PP, SourceLocation ImportLoc) const {
1738 return PP.AllocateDefMacroDirective(MI, ImportLoc, /*isImported=*/true);
1834 PP.AllocateDefMacroDirective(MI, Loc, isImported);
1840 MD = PP.AllocateUndefMacroDirective(Loc);
1844 MD = PP.AllocateVisibilityMacroDirective(Loc, isPublic);
1856 PP.setLoadedMacroDirective(II, Latest);
1907 MacroDirective *Prev = PP.getMacroDirective(II);
1962 DefMacroDirective *MD = MMI->import(PP, ImportLoc);
1967 PP.appendMacroDirective(II, MD);
1969 PP.appendMacroDirective(II, PP.AllocateUndefMacroDirective(ImportLoc));
1980 MD = PP.AllocateDefMacroDirective(NewMI, ImportLoc, /*Imported*/true);
2002 !PrevMI->isIdenticalTo(*NewMI, PP, /*Syntactically=*/true) &&
2015 PP.appendMacroDirective(II, MD);
2238 PP.getHeaderSearchInfo().getHeaderSearchOpts();
2460 Module *M = PP.getHeaderSearchInfo().lookupModule(F.ModuleName);
2543 if (!PP.getExternalSource())
2544 PP.setExternalSource(this);
2565 if (!PP.getPreprocessingRecord())
2566 PP.createPreprocessingRecord();
2567 if (!PP.getPreprocessingRecord()->getExternalSource())
2568 PP.getPreprocessingRecord()->SetExternalSource(*this);
2707 PP.getIdentifierTable().setExternalIdentifierLookup(this);
3057 if (!PP.getPreprocessingRecord())
3058 PP.createPreprocessingRecord();
3059 if (!PP.getPreprocessingRecord()->getExternalSource())
3060 PP.getPreprocessingRecord()->SetExternalSource(*this);
3062 = PP.getPreprocessingRecord()
3161 &PP.getHeaderSearchInfo(),
3164 PP.getHeaderSearchInfo().SetExternalSource(this);
3165 if (!PP.getHeaderSearchInfo().getExternalLookup())
3166 PP.getHeaderSearchInfo().SetExternalLookup(this);
3473 ? &PP.getHeaderSearchInfo().getModuleMap()
3536 for (IdentifierTable::iterator Id = PP.getIdentifierTable().begin(),
3537 IdEnd = PP.getIdentifierTable().end();
3607 if (PP.getHeaderSearchInfo()
4200 ModuleMap &ModMap = PP.getHeaderSearchInfo().getModuleMap();
4317 if (const FileEntry *Umbrella = PP.getFileManager().getFile(Blob)) {
4397 = PP.getFileManager().getDirectory(Blob)) {
4710 if (PreprocessingRecord *PPRec = PP.getPreprocessingRecord())
4732 if (!PP.getPreprocessingRecord()) {
4748 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord();
4794 File = PP.getFileManager().getFile(FullFileName);
7274 = &PP.getIdentifierTable().get(StringRef(Str, StrLen));
7933 return PP.getIdentifierTable();
8314 ASTReader::ASTReader(Preprocessor &PP, ASTContext &Context, StringRef isysroot,
8318 : Listener(new PCHValidator(PP, *this)), DeserializationListener(nullptr),
8319 OwnsDeserializationListener(false), SourceMgr(PP.getSourceManager()),
8320 FileMgr(PP.getFileManager()), Diags(PP.getDiagnostics()),
8321 SemaObj(nullptr), PP(PP), Context(Context), Consumer(nullptr),
8322 ModuleMgr(PP.getFileManager()), isysroot(isysroot),