Home
last modified time | relevance | path

Searched refs:ReadDeclAs (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Serialization/
DASTReaderDecl.cpp101 T *ReadDeclAs(const RecordData &R, unsigned &I) { in ReadDeclAs() function in clang::ASTDeclReader
102 return Reader.ReadDeclAs<T>(F, R, I); in ReadDeclAs()
517 DeclContext *SemaDC = ReadDeclAs<DeclContext>(Record, Idx); in VisitDecl()
518 DeclContext *LexicalDC = ReadDeclAs<DeclContext>(Record, Idx); in VisitDecl()
632 if (auto *Template = ReadDeclAs<TypeAliasTemplateDecl>(Record, Idx)) in VisitTypeAliasDecl()
712 if (EnumDecl *InstED = ReadDeclAs<EnumDecl>(Record, Idx)) { in VisitEnumDecl()
788 FD->setDescribedFunctionTemplate(ReadDeclAs<FunctionTemplateDecl>(Record, in VisitFunctionDecl()
792 FunctionDecl *InstFD = ReadDeclAs<FunctionDecl>(Record, Idx); in VisitFunctionDecl()
801 FunctionTemplateDecl *Template = ReadDeclAs<FunctionTemplateDecl>(Record, in VisitFunctionDecl()
845 = ReadDeclAs<FunctionTemplateDecl>(Record, Idx); in VisitFunctionDecl()
[all …]
DASTReaderStmt.cpp66 T *ReadDeclAs(const RecordData &R, unsigned &I) { in ReadDeclAs() function in clang::ASTStmtReader
67 return Reader.ReadDeclAs<T>(F, R, I); in ReadDeclAs()
165 LabelDecl *LD = ReadDeclAs<LabelDecl>(Record, Idx); in VisitLabelStmt()
190 ReadDeclAs<VarDecl>(Record, Idx)); in VisitIfStmt()
202 ReadDeclAs<VarDecl>(Record, Idx)); in VisitSwitchStmt()
224 ReadDeclAs<VarDecl>(Record, Idx)); in VisitWhileStmt()
245 ReadDeclAs<VarDecl>(Record, Idx)); in VisitForStmt()
255 S->setLabel(ReadDeclAs<LabelDecl>(Record, Idx)); in VisitGotoStmt()
281 S->setNRVOCandidate(ReadDeclAs<VarDecl>(Record, Idx)); in VisitReturnStmt()
411 S->setCapturedDecl(ReadDeclAs<CapturedDecl>(Record, Idx)); in VisitCapturedStmt()
[all …]
DASTReader.cpp5409 ReadDeclAs<UnresolvedUsingTypenameDecl>(*Loc.F, Record, Idx)); in readTypeRecord()
5418 TypedefNameDecl *Decl = ReadDeclAs<TypedefNameDecl>(*Loc.F, Record, Idx); in readTypeRecord()
5463 RecordDecl *RD = ReadDeclAs<RecordDecl>(*Loc.F, Record, Idx); in readTypeRecord()
5478 = Context.getEnumType(ReadDeclAs<EnumDecl>(*Loc.F, Record, Idx)); in readTypeRecord()
5528 = ReadDeclAs<ObjCInterfaceDecl>(*Loc.F, Record, Idx); in readTypeRecord()
5542 Protos.push_back(ReadDeclAs<ObjCProtocolDecl>(*Loc.F, Record, Idx)); in readTypeRecord()
5572 CXXRecordDecl *D = ReadDeclAs<CXXRecordDecl>(*Loc.F, Record, Idx); in readTypeRecord()
5597 = ReadDeclAs<TemplateTypeParmDecl>(*Loc.F, Record, Idx); in readTypeRecord()
5696 ESI.SourceDecl = ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx); in readExceptionSpec()
5697 ESI.SourceTemplate = ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx); in readExceptionSpec()
[all …]
/external/clang/include/clang/Serialization/
DASTReader.h1691 T *ReadDeclAs(ModuleFile &F, const RecordData &R, unsigned &I) { in ReadDeclAs() function