reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/Serialization/ASTReader.h
 1669   Preprocessor &getPreprocessor() const { return PP; }
tools/clang/lib/Serialization/ASTReader.cpp
 1235   if (PP.getLangOpts().Modules && !Diags.isDiagnosticInFlight() &&
 1236       !PP.getHeaderSearchInfo().getModuleCachePath().empty()) {
 1238       << PP.getHeaderSearchInfo().getModuleCachePath();
 1737       MacroInfo *MI = PP.AllocateMacroInfo(Loc);
 1757         MI->setParameterList(MacroParams, PP.getPreprocessorAllocator());
 1764       if (NextIndex + 1 == Record.size() && PP.getPreprocessingRecord() &&
 1769         PreprocessingRecord &PPRec = *PP.getPreprocessingRecord();
 2165         auto *Macro = PP.getModuleMacro(Mod, II);
 2172       PP.addModuleMacro(Owner, II, MMR.MI, Overrides, Inserted);
 2191       MD = PP.AllocateDefMacroDirective(MI, Loc);
 2195       MD = PP.AllocateUndefMacroDirective(Loc);
 2199       MD = PP.AllocateVisibilityMacroDirective(Loc, isPublic);
 2211     PP.setLoadedMacroDirective(II, Earliest, Latest);
 2613           PP.getHeaderSearchInfo().getHeaderSearchOpts();
 2802           ImportedFile = PP.getHeaderSearchInfo().getPrebuiltModuleFileName(
 2880       Module *M = PP.getHeaderSearchInfo().lookupModule(
 2887         if (!PP.getPreprocessorOpts().DisablePCHValidation &&
 2889           auto BuildDir = PP.getFileManager().getDirectory(Blob);
 2978         if (!PP.getExternalSource())
 2979           PP.setExternalSource(this);
 3007         if (!PP.getPreprocessingRecord())
 3008           PP.createPreprocessingRecord();
 3009         if (!PP.getPreprocessingRecord()->getExternalSource())
 3010           PP.getPreprocessingRecord()->SetExternalSource(*this);
 3178         PP.getIdentifierTable().setExternalIdentifierLookup(this);
 3356         PP.setReplayablePreambleConditionalStack(ConditionalStack, SkipInfo);
 3486       if (!PP.getPreprocessingRecord())
 3487         PP.createPreprocessingRecord();
 3488       if (!PP.getPreprocessingRecord()->getExternalSource())
 3489         PP.getPreprocessingRecord()->SetExternalSource(*this);
 3491         = PP.getPreprocessingRecord()
 3515       if (!PP.getPreprocessingRecord())
 3516         PP.createPreprocessingRecord();
 3517       if (!PP.getPreprocessingRecord()->getExternalSource())
 3518         PP.getPreprocessingRecord()->SetExternalSource(*this);
 3519       F.BasePreprocessedSkippedRangeID = PP.getPreprocessingRecord()
 3576                                        &PP.getHeaderSearchInfo(),
 3579         PP.getHeaderSearchInfo().SetExternalSource(this);
 3580         if (!PP.getHeaderSearchInfo().getExternalLookup())
 3581           PP.getHeaderSearchInfo().SetExternalLookup(this);
 3877     Module *M = PP.getHeaderSearchInfo().lookupModule(F.ModuleName);
 3878     auto &Map = PP.getHeaderSearchInfo().getModuleMap();
 3881     if (!PP.getPreprocessorOpts().DisablePCHValidation && !ModMap) {
 4075       !PP.getLangOpts().Modules)
 4096   return PP.getLangOpts().Modules && UseGlobalIndex &&
 4193                             PP.getLangOpts().Modules
 4194                                 ? &PP.getHeaderSearchInfo().getModuleMap()
 4257       auto &II = PP.getIdentifierTable().getOwn(Key);
 4289   if (!PP.getLangOpts().CPlusPlus ||
 4299     for (IdentifierTable::iterator Id = PP.getIdentifierTable().begin(),
 4300                                 IdEnd = PP.getIdentifierTable().end();
 4377   if (PP.getHeaderSearchInfo()
 4590       PP.getHeaderSearchInfo().getHeaderSearchOpts();
 4929         PP.makeModuleVisible(Imported, Import.ImportLoc);
 5382   ModuleMap &ModMap = PP.getHeaderSearchInfo().getModuleMap();
 5477           if (!PP.getPreprocessorOpts().DisablePCHValidation &&
 5530       if (auto Umbrella = PP.getFileManager().getFile(Filename)) {
 5563       if (auto Umbrella = PP.getFileManager().getDirectory(Dirname)) {
 5624       CurrentModule->addRequirement(Blob, Record[0], PP.getLangOpts(),
 5625                                     PP.getTargetInfo());
 5849   if (PreprocessingRecord *PPRec = PP.getPreprocessingRecord())
 5886   if (!PP.getPreprocessingRecord()) {
 5912   PreprocessingRecord &PPRec = *PP.getPreprocessingRecord();
 5961       if (auto FE = PP.getFileManager().getFile(FullFileName))
 8383   if (PP.getLangOpts().CPlusPlus) {
 8898     auto &II = PP.getIdentifierTable().get(StringRef(Str, StrLen));
 9719   return PP.getIdentifierTable();