• Home
  • Raw
  • Download

Lines Matching refs:ASTReader

659 void ASTReader::setDeserializationListener(ASTDeserializationListener *Listener,  in setDeserializationListener()
755 static bool isInterestingIdentifier(ASTReader &Reader, IdentifierInfo &II, in isInterestingIdentifier()
777 static void markIdentifierFromAST(ASTReader &Reader, IdentifierInfo &II) { in markIdentifierFromAST()
987 bool ASTReader::ReadLexicalDeclContextStorage(ModuleFile &M, in ReadLexicalDeclContextStorage()
1023 bool ASTReader::ReadVisibleDeclContextStorage(ModuleFile &M, in ReadVisibleDeclContextStorage()
1048 void ASTReader::Error(StringRef Msg) { in Error()
1057 void ASTReader::Error(unsigned DiagID, in Error()
1071 bool ASTReader::ParseLineTable(ModuleFile &F, in ParseLineTable()
1115 bool ASTReader::ReadSourceManagerBlock(ModuleFile &F) { in ReadSourceManagerBlock()
1203 bool ASTReader::ReadSLocEntry(int ID) { in ReadSLocEntry()
1343 std::pair<SourceLocation, StringRef> ASTReader::getModuleImportLoc(int ID) { in getModuleImportLoc()
1363 SourceLocation ASTReader::getImportLocation(ModuleFile *F) { in getImportLocation()
1380 bool ASTReader::ReadBlockAbbrevs(BitstreamCursor &Cursor, unsigned BlockID) { in ReadBlockAbbrevs()
1397 Token ASTReader::ReadToken(ModuleFile &F, const RecordDataImpl &Record, in ReadToken()
1410 MacroInfo *ASTReader::ReadMacroRecord(ModuleFile &F, uint64_t Offset) { in ReadMacroRecord()
1521 ASTReader::getGlobalPreprocessedEntityID(ModuleFile &M, unsigned LocalID) const { in getGlobalPreprocessedEntityID()
1643 void ASTReader::addPendingMacro(IdentifierInfo *II, in addPendingMacro()
1650 void ASTReader::ReadDefinedMacros() { in ReadDefinedMacros()
1755 void ASTReader::updateOutOfDateIdentifier(IdentifierInfo &II) { in updateOutOfDateIdentifier()
1780 void ASTReader::markIdentifierUpToDate(IdentifierInfo *II) { in markIdentifierUpToDate()
1791 void ASTReader::resolvePendingMacro(IdentifierInfo *II, in resolvePendingMacro()
1901 ASTReader::InputFileInfo
1902 ASTReader::readInputFileInfo(ModuleFile &F, unsigned ID) { in readInputFileInfo()
1928 InputFile ASTReader::getInputFile(ModuleFile &F, unsigned ID, bool Complain) { in getInputFile()
2054 void ASTReader::ResolveImportedPath(ModuleFile &M, std::string &Filename) { in ResolveImportedPath()
2060 void ASTReader::ResolveImportedPath(std::string &Filename, StringRef Prefix) { in ResolveImportedPath()
2069 static bool isDiagnosedResult(ASTReader::ASTReadResult ARR, unsigned Caps) { in isDiagnosedResult()
2071 case ASTReader::Failure: return true; in isDiagnosedResult()
2072 case ASTReader::Missing: return !(Caps & ASTReader::ARR_Missing); in isDiagnosedResult()
2073 case ASTReader::OutOfDate: return !(Caps & ASTReader::ARR_OutOfDate); in isDiagnosedResult()
2074 case ASTReader::VersionMismatch: return !(Caps & ASTReader::ARR_VersionMismatch); in isDiagnosedResult()
2075 case ASTReader::ConfigurationMismatch: in isDiagnosedResult()
2076 return !(Caps & ASTReader::ARR_ConfigurationMismatch); in isDiagnosedResult()
2077 case ASTReader::HadErrors: return true; in isDiagnosedResult()
2078 case ASTReader::Success: return false; in isDiagnosedResult()
2084 ASTReader::ASTReadResult ASTReader::ReadOptionsBlock( in ReadOptionsBlock()
2164 ASTReader::ASTReadResult
2165 ASTReader::ReadControlBlock(ModuleFile &F, in ReadControlBlock()
2450 ASTReader::ASTReadResult
2451 ASTReader::ReadASTBlock(ModuleFile &F, unsigned ClientLoadCapabilities) { in ReadASTBlock()
3217 ASTReader::ASTReadResult
3218 ASTReader::ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F, in ReadModuleMapFileBlock()
3347 void ASTReader::makeNamesVisible(const HiddenNames &Names, Module *Owner) { in makeNamesVisible()
3361 void ASTReader::makeModuleVisible(Module *Mod, in makeModuleVisible()
3407 bool ASTReader::loadGlobalIndex() { in loadGlobalIndex()
3429 bool ASTReader::isGlobalIndexUnavailable() const { in isGlobalIndexUnavailable()
3474 ASTReader::ASTReadResult ASTReader::ReadAST(StringRef FileName, in ReadAST()
3720 ASTReader::ASTReadResult
3721 ASTReader::ReadASTCore(StringRef FileName, in ReadASTCore()
3880 ASTReader::ASTReadResult ASTReader::ReadExtensionBlock(ModuleFile &F) { in ReadExtensionBlock()
3930 void ASTReader::InitializeContext() { in InitializeContext()
4066 void ASTReader::finalizeForWriting() { in finalizeForWriting()
4082 ASTReader::RecordData Record; in readASTFileSignature()
4099 std::string ASTReader::getOriginalSourceFile( in getOriginalSourceFile()
4194 bool ASTReader::readASTFileControlBlock( in readASTFileControlBlock()
4402 bool ASTReader::isAcceptableASTFile( in isAcceptableASTFile()
4414 ASTReader::ASTReadResult
4415 ASTReader::ReadSubmoduleBlock(ModuleFile &F, unsigned ClientLoadCapabilities) { in ReadSubmoduleBlock()
4687 bool ASTReader::ParseLanguageOptions(const RecordData &Record, in ParseLanguageOptions()
4729 bool ASTReader::ParseTargetOptions(const RecordData &Record, bool Complain, in ParseTargetOptions()
4748 bool ASTReader::ParseDiagnosticOptions(const RecordData &Record, bool Complain, in ParseDiagnosticOptions()
4765 bool ASTReader::ParseFileSystemOptions(const RecordData &Record, bool Complain, in ParseFileSystemOptions()
4773 bool ASTReader::ParseHeaderSearchOptions(const RecordData &Record, in ParseHeaderSearchOptions()
4812 bool ASTReader::ParsePreprocessorOptions(const RecordData &Record, in ParsePreprocessorOptions()
4848 ASTReader::getModulePreprocessedEntity(unsigned GlobalIndex) { in getModulePreprocessedEntity()
4859 ASTReader::getModulePreprocessedEntities(ModuleFile &Mod) const { in getModulePreprocessedEntities()
4868 llvm::iterator_range<ASTReader::ModuleDeclIterator>
4869 ASTReader::getModuleFileLevelDecls(ModuleFile &Mod) { in getModuleFileLevelDecls()
4876 PreprocessedEntity *ASTReader::ReadPreprocessedEntity(unsigned Index) { in ReadPreprocessedEntity()
4967 PreprocessedEntityID ASTReader::findNextPreprocessedEntity( in findNextPreprocessedEntity()
4983 const ASTReader &Reader;
4986 PPEntityComp(const ASTReader &Reader, ModuleFile &M) : Reader(Reader), M(M) { } in PPEntityComp()
5011 PreprocessedEntityID ASTReader::findPreprocessedEntity(SourceLocation Loc, in findPreprocessedEntity()
5065 ASTReader::findPreprocessedEntitiesInRange(SourceRange Range) { in findPreprocessedEntitiesInRange()
5078 Optional<bool> ASTReader::isPreprocessedEntityInFileID(unsigned Index, in isPreprocessedEntityInFileID()
5128 HeaderFileInfo ASTReader::GetHeaderFileInfo(const FileEntry *FE) { in GetHeaderFileInfo()
5137 void ASTReader::ReadPragmaDiagnosticMappings(DiagnosticsEngine &Diag) { in ReadPragmaDiagnosticMappings()
5184 ASTReader::RecordLocation ASTReader::TypeCursorForIndex(unsigned Index) { in TypeCursorForIndex()
5197 QualType ASTReader::readTypeRecord(unsigned Index) { in readTypeRecord()
5682 void ASTReader::readExceptionSpec(ModuleFile &ModuleFile, in readExceptionSpec()
5704 ASTReader &Reader;
5706 const ASTReader::RecordData &Record;
5709 SourceLocation ReadSourceLocation(const ASTReader::RecordData &R, in ReadSourceLocation()
5715 T *ReadDeclAs(const ASTReader::RecordData &Record, unsigned &Idx) { in ReadDeclAs()
5720 TypeLocReader(ASTReader &Reader, ModuleFile &F, in TypeLocReader()
5721 const ASTReader::RecordData &Record, unsigned &Idx) in TypeLocReader()
5953 TypeSourceInfo *ASTReader::GetTypeSourceInfo(ModuleFile &F, in GetTypeSourceInfo()
5967 QualType ASTReader::GetType(TypeID ID) { in GetType()
6140 QualType ASTReader::getLocalType(ModuleFile &F, unsigned LocalID) { in getLocalType()
6145 ASTReader::getGlobalTypeID(ModuleFile &F, unsigned LocalID) const { in getGlobalTypeID()
6161 ASTReader::GetTemplateArgumentLocInfo(ModuleFile &F, in GetTemplateArgumentLocInfo()
6197 ASTReader::ReadTemplateArgumentLoc(ModuleFile &F, in ReadTemplateArgumentLoc()
6210 ASTReader::ReadASTTemplateArgumentListInfo(ModuleFile &F, in ReadASTTemplateArgumentListInfo()
6222 Decl *ASTReader::GetExternalDecl(uint32_t ID) { in GetExternalDecl()
6232 void ASTReader::CompleteRedeclChain(const Decl *D) { in CompleteRedeclChain()
6285 ASTReader::GetExternalCXXCtorInitializers(uint64_t Offset) { in GetExternalCXXCtorInitializers()
6304 CXXBaseSpecifier *ASTReader::GetExternalCXXBaseSpecifiers(uint64_t Offset) { in GetExternalCXXBaseSpecifiers()
6328 ASTReader::getGlobalDeclID(ModuleFile &F, LocalDeclID LocalID) const { in getGlobalDeclID()
6339 bool ASTReader::isDeclIDFromModule(serialization::GlobalDeclID ID, in isDeclIDFromModule()
6349 ModuleFile *ASTReader::getOwningModuleFile(const Decl *D) { in getOwningModuleFile()
6357 SourceLocation ASTReader::getSourceLocationForDeclID(GlobalDeclID ID) { in getSourceLocationForDeclID()
6432 Decl *ASTReader::GetExistingDecl(DeclID ID) { in GetExistingDecl()
6456 Decl *ASTReader::GetDecl(DeclID ID) { in GetDecl()
6477 DeclID ASTReader::mapGlobalIDToModuleFileGlobalID(ModuleFile &M, in mapGlobalIDToModuleFileGlobalID()
6494 serialization::DeclID ASTReader::ReadDeclID(ModuleFile &F, in ReadDeclID()
6510 Stmt *ASTReader::GetExternalDeclStmt(uint64_t Offset) { in GetExternalDeclStmt()
6520 void ASTReader::FindExternalLexicalDecls( in FindExternalLexicalDecls()
6566 ASTReader &Reader;
6570 DeclIDComp(ASTReader &Reader, ModuleFile &M) : Reader(Reader), Mod(M) {} in DeclIDComp()
6596 void ASTReader::FindFileRegionDecls(FileID File, in FindFileRegionDecls()
6640 ASTReader::FindExternalVisibleDeclsByName(const DeclContext *DC, in FindExternalVisibleDeclsByName()
6666 void ASTReader::completeVisibleDeclsMap(const DeclContext *DC) { in completeVisibleDeclsMap()
6690 ASTReader::getLoadedLookupTables(DeclContext *Primary) const { in getLoadedLookupTables()
6709 void ASTReader::PassInterestingDeclsToConsumer() { in PassInterestingDeclsToConsumer()
6734 void ASTReader::PassInterestingDeclToConsumer(Decl *D) { in PassInterestingDeclToConsumer()
6741 void ASTReader::StartTranslationUnit(ASTConsumer *Consumer) { in StartTranslationUnit()
6751 void ASTReader::PrintStats() { in PrintStats()
6867 LLVM_DUMP_METHOD void ASTReader::dump() { in dump()
6889 void ASTReader::getMemoryBufferSizes(MemoryBufferSizes &sizes) const { in getMemoryBufferSizes()
6906 void ASTReader::InitializeSema(Sema &S) { in InitializeSema()
6936 void ASTReader::UpdateSema() { in UpdateSema()
6966 IdentifierInfo *ASTReader::get(StringRef Name) { in get()
7006 const ASTReader &Reader;
7024 explicit ASTIdentifierIterator(const ASTReader &Reader,
7031 ASTIdentifierIterator::ASTIdentifierIterator(const ASTReader &Reader, in ASTIdentifierIterator()
7087 IdentifierIterator *ASTReader::getIdentifiers() { in getIdentifiers()
7102 ASTReader &Reader;
7113 ReadMethodPoolVisitor(ASTReader &Reader, Selector Sel, in ReadMethodPoolVisitor()
7180 void ASTReader::ReadMethodPool(Selector Sel) { in ReadMethodPool()
7217 void ASTReader::updateOutOfDateSelector(Selector Sel) { in updateOutOfDateSelector()
7222 void ASTReader::ReadKnownNamespaces( in ReadKnownNamespaces()
7233 void ASTReader::ReadUndefinedButUsed( in ReadUndefinedButUsed()
7243 void ASTReader::ReadMismatchingDeleteExpressions(llvm::MapVector< in ReadMismatchingDeleteExpressions()
7258 void ASTReader::ReadTentativeDefinitions( in ReadTentativeDefinitions()
7268 void ASTReader::ReadUnusedFileScopedDecls( in ReadUnusedFileScopedDecls()
7279 void ASTReader::ReadDelegatingConstructors( in ReadDelegatingConstructors()
7290 void ASTReader::ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) { in ReadExtVectorDecls()
7300 void ASTReader::ReadUnusedLocalTypedefNameCandidates( in ReadUnusedLocalTypedefNameCandidates()
7312 void ASTReader::ReadReferencedSelectors( in ReadReferencedSelectors()
7330 void ASTReader::ReadWeakUndeclaredIdentifiers( in ReadWeakUndeclaredIdentifiers()
7350 void ASTReader::ReadUsedVTables(SmallVectorImpl<ExternalVTableUse> &VTables) { in ReadUsedVTables()
7362 void ASTReader::ReadPendingInstantiations( in ReadPendingInstantiations()
7374 void ASTReader::ReadLateParsedTemplates( in ReadLateParsedTemplates()
7397 void ASTReader::LoadSelector(Selector Sel) { in LoadSelector()
7402 void ASTReader::SetIdentifierInfo(IdentifierID ID, IdentifierInfo *II) { in SetIdentifierInfo()
7427 ASTReader::SetGloballyVisibleDecls(IdentifierInfo *II, in SetGloballyVisibleDecls()
7459 IdentifierInfo *ASTReader::DecodeIdentifierInfo(IdentifierID ID) { in DecodeIdentifierInfo()
7494 IdentifierInfo *ASTReader::getLocalIdentifier(ModuleFile &M, unsigned LocalID) { in getLocalIdentifier()
7498 IdentifierID ASTReader::getGlobalIdentifierID(ModuleFile &M, unsigned LocalID) { in getGlobalIdentifierID()
7510 MacroInfo *ASTReader::getMacro(MacroID ID) { in getMacro()
7536 MacroID ASTReader::getGlobalMacroID(ModuleFile &M, unsigned LocalID) { in getGlobalMacroID()
7548 ASTReader::getGlobalSubmoduleID(ModuleFile &M, unsigned LocalID) { in getGlobalSubmoduleID()
7560 Module *ASTReader::getSubmodule(SubmoduleID GlobalID) { in getSubmodule()
7574 Module *ASTReader::getModule(unsigned ID) { in getModule()
7578 ModuleFile *ASTReader::getLocalModuleFile(ModuleFile &F, unsigned ID) { in getLocalModuleFile()
7591 unsigned ASTReader::getModuleFileID(ModuleFile *F) { in getModuleFileID()
7609 ASTReader::getSourceDescriptor(unsigned ID) { in getSourceDescriptor()
7619 return ASTReader::ASTSourceDescriptor(ModuleName, MF.OriginalDir, FileName, in getSourceDescriptor()
7625 Selector ASTReader::getLocalSelector(ModuleFile &M, unsigned LocalID) { in getLocalSelector()
7629 Selector ASTReader::DecodeSelector(serialization::SelectorID ID) { in DecodeSelector()
7654 Selector ASTReader::GetExternalSelector(serialization::SelectorID ID) { in GetExternalSelector()
7658 uint32_t ASTReader::GetNumExternalSelectors() { in GetNumExternalSelectors()
7664 ASTReader::getGlobalSelectorID(ModuleFile &M, unsigned LocalID) const { in getGlobalSelectorID()
7677 ASTReader::ReadDeclarationName(ModuleFile &F, in ReadDeclarationName()
7716 void ASTReader::ReadDeclarationNameLoc(ModuleFile &F, in ReadDeclarationNameLoc()
7748 void ASTReader::ReadDeclarationNameInfo(ModuleFile &F, in ReadDeclarationNameInfo()
7758 void ASTReader::ReadQualifierInfo(ModuleFile &F, QualifierInfo &Info, in ReadQualifierInfo()
7771 ASTReader::ReadTemplateName(ModuleFile &F, const RecordData &Record, in ReadTemplateName()
7829 TemplateArgument ASTReader::ReadTemplateArgument(ModuleFile &F, in ReadTemplateArgument()
7883 ASTReader::ReadTemplateParameterList(ModuleFile &F, in ReadTemplateParameterList()
7902 ASTReader::
7913 void ASTReader::ReadUnresolvedSet(ModuleFile &F, LazyASTUnresolvedSet &Set, in ReadUnresolvedSet()
7925 ASTReader::ReadCXXBaseSpecifier(ModuleFile &F, in ReadCXXBaseSpecifier()
7941 ASTReader::ReadCXXCtorInitializers(ModuleFile &F, const RecordData &Record, in ReadCXXCtorInitializers()
8026 ASTReader::ReadNestedNameSpecifier(ModuleFile &F, in ReadNestedNameSpecifier()
8081 ASTReader::ReadNestedNameSpecifierLoc(ModuleFile &F, const RecordData &Record, in ReadNestedNameSpecifierLoc()
8144 ASTReader::ReadSourceRange(ModuleFile &F, const RecordData &Record, in ReadSourceRange()
8152 llvm::APInt ASTReader::ReadAPInt(const RecordData &Record, unsigned &Idx) { in ReadAPInt()
8161 llvm::APSInt ASTReader::ReadAPSInt(const RecordData &Record, unsigned &Idx) { in ReadAPSInt()
8167 llvm::APFloat ASTReader::ReadAPFloat(const RecordData &Record, in ReadAPFloat()
8174 std::string ASTReader::ReadString(const RecordData &Record, unsigned &Idx) { in ReadString()
8181 std::string ASTReader::ReadPath(ModuleFile &F, const RecordData &Record, in ReadPath()
8188 VersionTuple ASTReader::ReadVersionTuple(const RecordData &Record, in ReadVersionTuple()
8200 CXXTemporary *ASTReader::ReadCXXTemporary(ModuleFile &F, in ReadCXXTemporary()
8207 DiagnosticBuilder ASTReader::Diag(unsigned DiagID) { in Diag()
8211 DiagnosticBuilder ASTReader::Diag(SourceLocation Loc, unsigned DiagID) { in Diag()
8217 IdentifierTable &ASTReader::getIdentifierTable() { in getIdentifierTable()
8223 void ASTReader::RecordSwitchCaseID(SwitchCase *SC, unsigned ID) { in RecordSwitchCaseID()
8230 SwitchCase *ASTReader::getSwitchCaseWithID(unsigned ID) { in getSwitchCaseWithID()
8235 void ASTReader::ClearSwitchCaseIDs() { in ClearSwitchCaseIDs()
8239 void ASTReader::ReadComments() { in ReadComments()
8290 std::string ASTReader::getOwningModuleNameForDiagnostic(const Decl *D) { in getOwningModuleNameForDiagnostic()
8303 void ASTReader::finishPendingActions() { in finishPendingActions()
8466 void ASTReader::diagnoseOdrViolations() { in diagnoseOdrViolations()
8619 void ASTReader::StartedDeserializing() { in StartedDeserializing()
8624 void ASTReader::FinishedDeserializing() { in FinishedDeserializing()
8661 void ASTReader::pushExternalDeclIntoScope(NamedDecl *D, DeclarationName Name) { in pushExternalDeclIntoScope()
8687 ASTReader::ASTReader( in ASTReader() function in ASTReader
8736 ASTReader::~ASTReader() { in ~ASTReader()
8741 IdentifierResolver &ASTReader::getIdResolver() { in getIdResolver()