Lines Matching refs:ASTReader

653 void ASTReader::setDeserializationListener(ASTDeserializationListener *Listener,  in setDeserializationListener()
749 static bool isInterestingIdentifier(ASTReader &Reader, IdentifierInfo &II, in isInterestingIdentifier()
977 bool ASTReader::ReadLexicalDeclContextStorage(ModuleFile &M, in ReadLexicalDeclContextStorage()
1013 bool ASTReader::ReadVisibleDeclContextStorage(ModuleFile &M, in ReadVisibleDeclContextStorage()
1038 void ASTReader::Error(StringRef Msg) { in Error()
1047 void ASTReader::Error(unsigned DiagID, in Error()
1061 bool ASTReader::ParseLineTable(ModuleFile &F, in ParseLineTable()
1105 bool ASTReader::ReadSourceManagerBlock(ModuleFile &F) { in ReadSourceManagerBlock()
1193 bool ASTReader::ReadSLocEntry(int ID) { in ReadSLocEntry()
1323 std::pair<SourceLocation, StringRef> ASTReader::getModuleImportLoc(int ID) { in getModuleImportLoc()
1343 SourceLocation ASTReader::getImportLocation(ModuleFile *F) { in getImportLocation()
1360 bool ASTReader::ReadBlockAbbrevs(BitstreamCursor &Cursor, unsigned BlockID) { in ReadBlockAbbrevs()
1377 Token ASTReader::ReadToken(ModuleFile &F, const RecordDataImpl &Record, in ReadToken()
1390 MacroInfo *ASTReader::ReadMacroRecord(ModuleFile &F, uint64_t Offset) { in ReadMacroRecord()
1501 ASTReader::getGlobalPreprocessedEntityID(ModuleFile &M, unsigned LocalID) const { in getGlobalPreprocessedEntityID()
1623 void ASTReader::addPendingMacro(IdentifierInfo *II, in addPendingMacro()
1630 void ASTReader::ReadDefinedMacros() { in ReadDefinedMacros()
1732 void ASTReader::updateOutOfDateIdentifier(IdentifierInfo &II) { in updateOutOfDateIdentifier()
1757 void ASTReader::markIdentifierUpToDate(IdentifierInfo *II) { in markIdentifierUpToDate()
1768 void ASTReader::resolvePendingMacro(IdentifierInfo *II, in resolvePendingMacro()
1878 ASTReader::InputFileInfo
1879 ASTReader::readInputFileInfo(ModuleFile &F, unsigned ID) { in readInputFileInfo()
1905 InputFile ASTReader::getInputFile(ModuleFile &F, unsigned ID, bool Complain) { in getInputFile()
2040 void ASTReader::ResolveImportedPath(ModuleFile &M, std::string &Filename) { in ResolveImportedPath()
2046 void ASTReader::ResolveImportedPath(std::string &Filename, StringRef Prefix) { in ResolveImportedPath()
2055 static bool isDiagnosedResult(ASTReader::ASTReadResult ARR, unsigned Caps) { in isDiagnosedResult()
2057 case ASTReader::Failure: return true; in isDiagnosedResult()
2058 case ASTReader::Missing: return !(Caps & ASTReader::ARR_Missing); in isDiagnosedResult()
2059 case ASTReader::OutOfDate: return !(Caps & ASTReader::ARR_OutOfDate); in isDiagnosedResult()
2060 case ASTReader::VersionMismatch: return !(Caps & ASTReader::ARR_VersionMismatch); in isDiagnosedResult()
2061 case ASTReader::ConfigurationMismatch: in isDiagnosedResult()
2062 return !(Caps & ASTReader::ARR_ConfigurationMismatch); in isDiagnosedResult()
2063 case ASTReader::HadErrors: return true; in isDiagnosedResult()
2064 case ASTReader::Success: return false; in isDiagnosedResult()
2070 ASTReader::ASTReadResult ASTReader::ReadOptionsBlock( in ReadOptionsBlock()
2150 ASTReader::ASTReadResult
2151 ASTReader::ReadControlBlock(ModuleFile &F, in ReadControlBlock()
2430 ASTReader::ASTReadResult
2431 ASTReader::ReadASTBlock(ModuleFile &F, unsigned ClientLoadCapabilities) { in ReadASTBlock()
3213 ASTReader::ASTReadResult
3214 ASTReader::ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F, in ReadModuleMapFileBlock()
3343 void ASTReader::makeNamesVisible(const HiddenNames &Names, Module *Owner) { in makeNamesVisible()
3357 void ASTReader::makeModuleVisible(Module *Mod, in makeModuleVisible()
3403 bool ASTReader::loadGlobalIndex() { in loadGlobalIndex()
3425 bool ASTReader::isGlobalIndexUnavailable() const { in isGlobalIndexUnavailable()
3470 ASTReader::ASTReadResult ASTReader::ReadAST(const std::string &FileName, in ReadAST()
3717 ASTReader::ASTReadResult
3718 ASTReader::ReadASTCore(StringRef FileName, in ReadASTCore()
3877 ASTReader::ASTReadResult ASTReader::ReadExtensionBlock(ModuleFile &F) { in ReadExtensionBlock()
3927 void ASTReader::InitializeContext() { in InitializeContext()
4061 void ASTReader::finalizeForWriting() { in finalizeForWriting()
4077 ASTReader::RecordData Record; in readASTFileSignature()
4094 std::string ASTReader::getOriginalSourceFile( in getOriginalSourceFile()
4189 bool ASTReader::readASTFileControlBlock( in readASTFileControlBlock()
4397 bool ASTReader::isAcceptableASTFile( in isAcceptableASTFile()
4409 ASTReader::ASTReadResult
4410 ASTReader::ReadSubmoduleBlock(ModuleFile &F, unsigned ClientLoadCapabilities) { in ReadSubmoduleBlock()
4671 bool ASTReader::ParseLanguageOptions(const RecordData &Record, in ParseLanguageOptions()
4706 bool ASTReader::ParseTargetOptions(const RecordData &Record, bool Complain, in ParseTargetOptions()
4725 bool ASTReader::ParseDiagnosticOptions(const RecordData &Record, bool Complain, in ParseDiagnosticOptions()
4742 bool ASTReader::ParseFileSystemOptions(const RecordData &Record, bool Complain, in ParseFileSystemOptions()
4750 bool ASTReader::ParseHeaderSearchOptions(const RecordData &Record, in ParseHeaderSearchOptions()
4789 bool ASTReader::ParsePreprocessorOptions(const RecordData &Record, in ParsePreprocessorOptions()
4825 ASTReader::getModulePreprocessedEntity(unsigned GlobalIndex) { in getModulePreprocessedEntity()
4836 ASTReader::getModulePreprocessedEntities(ModuleFile &Mod) const { in getModulePreprocessedEntities()
4845 llvm::iterator_range<ASTReader::ModuleDeclIterator>
4846 ASTReader::getModuleFileLevelDecls(ModuleFile &Mod) { in getModuleFileLevelDecls()
4853 PreprocessedEntity *ASTReader::ReadPreprocessedEntity(unsigned Index) { in ReadPreprocessedEntity()
4944 PreprocessedEntityID ASTReader::findNextPreprocessedEntity( in findNextPreprocessedEntity()
4961 const ASTReader &Reader;
4964 PPEntityComp(const ASTReader &Reader, ModuleFile &M) : Reader(Reader), M(M) { } in PPEntityComp()
4989 PreprocessedEntityID ASTReader::findPreprocessedEntity(SourceLocation Loc, in findPreprocessedEntity()
5043 ASTReader::findPreprocessedEntitiesInRange(SourceRange Range) { in findPreprocessedEntitiesInRange()
5056 Optional<bool> ASTReader::isPreprocessedEntityInFileID(unsigned Index, in isPreprocessedEntityInFileID()
5106 HeaderFileInfo ASTReader::GetHeaderFileInfo(const FileEntry *FE) { in GetHeaderFileInfo()
5115 void ASTReader::ReadPragmaDiagnosticMappings(DiagnosticsEngine &Diag) { in ReadPragmaDiagnosticMappings()
5162 ASTReader::RecordLocation ASTReader::TypeCursorForIndex(unsigned Index) { in TypeCursorForIndex()
5175 QualType ASTReader::readTypeRecord(unsigned Index) { in readTypeRecord()
5640 void ASTReader::readExceptionSpec(ModuleFile &ModuleFile, in readExceptionSpec()
5662 ASTReader &Reader;
5664 const ASTReader::RecordData &Record;
5667 SourceLocation ReadSourceLocation(const ASTReader::RecordData &R, in ReadSourceLocation()
5673 T *ReadDeclAs(const ASTReader::RecordData &Record, unsigned &Idx) { in ReadDeclAs()
5678 TypeLocReader(ASTReader &Reader, ModuleFile &F, in TypeLocReader()
5679 const ASTReader::RecordData &Record, unsigned &Idx) in TypeLocReader()
5908 TypeSourceInfo *ASTReader::GetTypeSourceInfo(ModuleFile &F, in GetTypeSourceInfo()
5922 QualType ASTReader::GetType(TypeID ID) { in GetType()
6123 QualType ASTReader::getLocalType(ModuleFile &F, unsigned LocalID) { in getLocalType()
6128 ASTReader::getGlobalTypeID(ModuleFile &F, unsigned LocalID) const { in getGlobalTypeID()
6144 ASTReader::GetTemplateArgumentLocInfo(ModuleFile &F, in GetTemplateArgumentLocInfo()
6180 ASTReader::ReadTemplateArgumentLoc(ModuleFile &F, in ReadTemplateArgumentLoc()
6193 ASTReader::ReadASTTemplateArgumentListInfo(ModuleFile &F, in ReadASTTemplateArgumentListInfo()
6205 Decl *ASTReader::GetExternalDecl(uint32_t ID) { in GetExternalDecl()
6215 void ASTReader::CompleteRedeclChain(const Decl *D) { in CompleteRedeclChain()
6267 uint64_t ASTReader::ReadCXXCtorInitializersRef(ModuleFile &M, in ReadCXXCtorInitializersRef()
6280 ASTReader::GetExternalCXXCtorInitializers(uint64_t Offset) { in GetExternalCXXCtorInitializers()
6299 uint64_t ASTReader::readCXXBaseSpecifiers(ModuleFile &M, in readCXXBaseSpecifiers()
6311 CXXBaseSpecifier *ASTReader::GetExternalCXXBaseSpecifiers(uint64_t Offset) { in GetExternalCXXBaseSpecifiers()
6335 ASTReader::getGlobalDeclID(ModuleFile &F, LocalDeclID LocalID) const { in getGlobalDeclID()
6346 bool ASTReader::isDeclIDFromModule(serialization::GlobalDeclID ID, in isDeclIDFromModule()
6356 ModuleFile *ASTReader::getOwningModuleFile(const Decl *D) { in getOwningModuleFile()
6364 SourceLocation ASTReader::getSourceLocationForDeclID(GlobalDeclID ID) { in getSourceLocationForDeclID()
6430 Decl *ASTReader::GetExistingDecl(DeclID ID) { in GetExistingDecl()
6454 Decl *ASTReader::GetDecl(DeclID ID) { in GetDecl()
6475 DeclID ASTReader::mapGlobalIDToModuleFileGlobalID(ModuleFile &M, in mapGlobalIDToModuleFileGlobalID()
6492 serialization::DeclID ASTReader::ReadDeclID(ModuleFile &F, in ReadDeclID()
6508 Stmt *ASTReader::GetExternalDeclStmt(uint64_t Offset) { in GetExternalDeclStmt()
6518 void ASTReader::FindExternalLexicalDecls( in FindExternalLexicalDecls()
6564 ASTReader &Reader;
6568 DeclIDComp(ASTReader &Reader, ModuleFile &M) : Reader(Reader), Mod(M) {} in DeclIDComp()
6594 void ASTReader::FindFileRegionDecls(FileID File, in FindFileRegionDecls()
6638 ASTReader::FindExternalVisibleDeclsByName(const DeclContext *DC, in FindExternalVisibleDeclsByName()
6664 void ASTReader::completeVisibleDeclsMap(const DeclContext *DC) { in completeVisibleDeclsMap()
6688 ASTReader::getLoadedLookupTables(DeclContext *Primary) const { in getLoadedLookupTables()
6707 void ASTReader::PassInterestingDeclsToConsumer() { in PassInterestingDeclsToConsumer()
6732 void ASTReader::PassInterestingDeclToConsumer(Decl *D) { in PassInterestingDeclToConsumer()
6739 void ASTReader::StartTranslationUnit(ASTConsumer *Consumer) { in StartTranslationUnit()
6749 void ASTReader::PrintStats() { in PrintStats()
6865 void ASTReader::dump() { in dump()
6887 void ASTReader::getMemoryBufferSizes(MemoryBufferSizes &sizes) const { in getMemoryBufferSizes()
6904 void ASTReader::InitializeSema(Sema &S) { in InitializeSema()
6934 void ASTReader::UpdateSema() { in UpdateSema()
6956 IdentifierInfo *ASTReader::get(StringRef Name) { in get()
6996 const ASTReader &Reader;
7011 explicit ASTIdentifierIterator(const ASTReader &Reader);
7017 ASTIdentifierIterator::ASTIdentifierIterator(const ASTReader &Reader) in ASTIdentifierIterator()
7046 IdentifierIterator *ASTReader::getIdentifiers() { in getIdentifiers()
7055 ASTReader &Reader;
7066 ReadMethodPoolVisitor(ASTReader &Reader, Selector Sel, in ReadMethodPoolVisitor()
7133 void ASTReader::ReadMethodPool(Selector Sel) { in ReadMethodPool()
7169 void ASTReader::ReadKnownNamespaces( in ReadKnownNamespaces()
7180 void ASTReader::ReadUndefinedButUsed( in ReadUndefinedButUsed()
7190 void ASTReader::ReadMismatchingDeleteExpressions(llvm::MapVector< in ReadMismatchingDeleteExpressions()
7205 void ASTReader::ReadTentativeDefinitions( in ReadTentativeDefinitions()
7215 void ASTReader::ReadUnusedFileScopedDecls( in ReadUnusedFileScopedDecls()
7226 void ASTReader::ReadDelegatingConstructors( in ReadDelegatingConstructors()
7237 void ASTReader::ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) { in ReadExtVectorDecls()
7247 void ASTReader::ReadUnusedLocalTypedefNameCandidates( in ReadUnusedLocalTypedefNameCandidates()
7259 void ASTReader::ReadReferencedSelectors( in ReadReferencedSelectors()
7277 void ASTReader::ReadWeakUndeclaredIdentifiers( in ReadWeakUndeclaredIdentifiers()
7297 void ASTReader::ReadUsedVTables(SmallVectorImpl<ExternalVTableUse> &VTables) { in ReadUsedVTables()
7309 void ASTReader::ReadPendingInstantiations( in ReadPendingInstantiations()
7321 void ASTReader::ReadLateParsedTemplates( in ReadLateParsedTemplates()
7344 void ASTReader::LoadSelector(Selector Sel) { in LoadSelector()
7349 void ASTReader::SetIdentifierInfo(IdentifierID ID, IdentifierInfo *II) { in SetIdentifierInfo()
7374 ASTReader::SetGloballyVisibleDecls(IdentifierInfo *II, in SetGloballyVisibleDecls()
7406 IdentifierInfo *ASTReader::DecodeIdentifierInfo(IdentifierID ID) { in DecodeIdentifierInfo()
7440 IdentifierInfo *ASTReader::getLocalIdentifier(ModuleFile &M, unsigned LocalID) { in getLocalIdentifier()
7444 IdentifierID ASTReader::getGlobalIdentifierID(ModuleFile &M, unsigned LocalID) { in getGlobalIdentifierID()
7456 MacroInfo *ASTReader::getMacro(MacroID ID) { in getMacro()
7482 MacroID ASTReader::getGlobalMacroID(ModuleFile &M, unsigned LocalID) { in getGlobalMacroID()
7494 ASTReader::getGlobalSubmoduleID(ModuleFile &M, unsigned LocalID) { in getGlobalSubmoduleID()
7506 Module *ASTReader::getSubmodule(SubmoduleID GlobalID) { in getSubmodule()
7520 Module *ASTReader::getModule(unsigned ID) { in getModule()
7524 ModuleFile *ASTReader::getLocalModuleFile(ModuleFile &F, unsigned ID) { in getLocalModuleFile()
7537 unsigned ASTReader::getModuleFileID(ModuleFile *F) { in getModuleFileID()
7555 ASTReader::getSourceDescriptor(unsigned ID) { in getSourceDescriptor()
7563 return ASTReader::ASTSourceDescriptor( in getSourceDescriptor()
7569 Selector ASTReader::getLocalSelector(ModuleFile &M, unsigned LocalID) { in getLocalSelector()
7573 Selector ASTReader::DecodeSelector(serialization::SelectorID ID) { in DecodeSelector()
7598 Selector ASTReader::GetExternalSelector(serialization::SelectorID ID) { in GetExternalSelector()
7602 uint32_t ASTReader::GetNumExternalSelectors() { in GetNumExternalSelectors()
7608 ASTReader::getGlobalSelectorID(ModuleFile &M, unsigned LocalID) const { in getGlobalSelectorID()
7621 ASTReader::ReadDeclarationName(ModuleFile &F, in ReadDeclarationName()
7660 void ASTReader::ReadDeclarationNameLoc(ModuleFile &F, in ReadDeclarationNameLoc()
7692 void ASTReader::ReadDeclarationNameInfo(ModuleFile &F, in ReadDeclarationNameInfo()
7702 void ASTReader::ReadQualifierInfo(ModuleFile &F, QualifierInfo &Info, in ReadQualifierInfo()
7715 ASTReader::ReadTemplateName(ModuleFile &F, const RecordData &Record, in ReadTemplateName()
7773 TemplateArgument ASTReader::ReadTemplateArgument(ModuleFile &F, in ReadTemplateArgument()
7827 ASTReader::ReadTemplateParameterList(ModuleFile &F, in ReadTemplateParameterList()
7846 ASTReader::
7857 void ASTReader::ReadUnresolvedSet(ModuleFile &F, LazyASTUnresolvedSet &Set, in ReadUnresolvedSet()
7869 ASTReader::ReadCXXBaseSpecifier(ModuleFile &F, in ReadCXXBaseSpecifier()
7885 ASTReader::ReadCXXCtorInitializers(ModuleFile &F, const RecordData &Record, in ReadCXXCtorInitializers()
7970 ASTReader::ReadNestedNameSpecifier(ModuleFile &F, in ReadNestedNameSpecifier()
8025 ASTReader::ReadNestedNameSpecifierLoc(ModuleFile &F, const RecordData &Record, in ReadNestedNameSpecifierLoc()
8088 ASTReader::ReadSourceRange(ModuleFile &F, const RecordData &Record, in ReadSourceRange()
8096 llvm::APInt ASTReader::ReadAPInt(const RecordData &Record, unsigned &Idx) { in ReadAPInt()
8105 llvm::APSInt ASTReader::ReadAPSInt(const RecordData &Record, unsigned &Idx) { in ReadAPSInt()
8111 llvm::APFloat ASTReader::ReadAPFloat(const RecordData &Record, in ReadAPFloat()
8118 std::string ASTReader::ReadString(const RecordData &Record, unsigned &Idx) { in ReadString()
8125 std::string ASTReader::ReadPath(ModuleFile &F, const RecordData &Record, in ReadPath()
8132 VersionTuple ASTReader::ReadVersionTuple(const RecordData &Record, in ReadVersionTuple()
8144 CXXTemporary *ASTReader::ReadCXXTemporary(ModuleFile &F, in ReadCXXTemporary()
8151 DiagnosticBuilder ASTReader::Diag(unsigned DiagID) { in Diag()
8155 DiagnosticBuilder ASTReader::Diag(SourceLocation Loc, unsigned DiagID) { in Diag()
8161 IdentifierTable &ASTReader::getIdentifierTable() { in getIdentifierTable()
8167 void ASTReader::RecordSwitchCaseID(SwitchCase *SC, unsigned ID) { in RecordSwitchCaseID()
8174 SwitchCase *ASTReader::getSwitchCaseWithID(unsigned ID) { in getSwitchCaseWithID()
8179 void ASTReader::ClearSwitchCaseIDs() { in ClearSwitchCaseIDs()
8183 void ASTReader::ReadComments() { in ReadComments()
8234 std::string ASTReader::getOwningModuleNameForDiagnostic(const Decl *D) { in getOwningModuleNameForDiagnostic()
8247 void ASTReader::finishPendingActions() { in finishPendingActions()
8410 void ASTReader::diagnoseOdrViolations() { in diagnoseOdrViolations()
8563 void ASTReader::StartedDeserializing() { in StartedDeserializing()
8568 void ASTReader::FinishedDeserializing() { in FinishedDeserializing()
8605 void ASTReader::pushExternalDeclIntoScope(NamedDecl *D, DeclarationName Name) { in pushExternalDeclIntoScope()
8631 ASTReader::ASTReader( in ASTReader() function in ASTReader
8677 ASTReader::~ASTReader() { in ~ASTReader()