Searched refs:ReadDeclAs (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 81 T *ReadDeclAs(const RecordData &R, unsigned &I) { in ReadDeclAs() function in clang::ASTDeclReader 82 return Reader.ReadDeclAs<T>(F, R, I); in ReadDeclAs() 486 DeclContext *SemaDC = ReadDeclAs<DeclContext>(Record, Idx); in VisitDecl() 487 DeclContext *LexicalDC = ReadDeclAs<DeclContext>(Record, Idx); in VisitDecl() 577 if (auto *Template = ReadDeclAs<TypeAliasTemplateDecl>(Record, Idx)) in VisitTypeAliasDecl() 657 if (EnumDecl *InstED = ReadDeclAs<EnumDecl>(Record, Idx)) { in VisitEnumDecl() 733 FD->setDescribedFunctionTemplate(ReadDeclAs<FunctionTemplateDecl>(Record, in VisitFunctionDecl() 737 FunctionDecl *InstFD = ReadDeclAs<FunctionDecl>(Record, Idx); in VisitFunctionDecl() 746 FunctionTemplateDecl *Template = ReadDeclAs<FunctionTemplateDecl>(Record, in VisitFunctionDecl() 790 = ReadDeclAs<FunctionTemplateDecl>(Record, Idx); in VisitFunctionDecl() [all …]
|
D | ASTReaderStmt.cpp | 66 T *ReadDeclAs(const RecordData &R, unsigned &I) { in ReadDeclAs() function in clang::ASTStmtReader 67 return Reader.ReadDeclAs<T>(F, R, I); in ReadDeclAs() 164 LabelDecl *LD = ReadDeclAs<LabelDecl>(Record, Idx); in VisitLabelStmt() 187 ReadDeclAs<VarDecl>(Record, Idx)); in VisitIfStmt() 198 ReadDeclAs<VarDecl>(Record, Idx)); in VisitSwitchStmt() 220 ReadDeclAs<VarDecl>(Record, Idx)); in VisitWhileStmt() 241 ReadDeclAs<VarDecl>(Record, Idx)); in VisitForStmt() 251 S->setLabel(ReadDeclAs<LabelDecl>(Record, Idx)); in VisitGotoStmt() 277 S->setNRVOCandidate(ReadDeclAs<VarDecl>(Record, Idx)); in VisitReturnStmt() 407 S->setCapturedDecl(ReadDeclAs<CapturedDecl>(Record, Idx)); in VisitCapturedStmt() [all …]
|
D | ASTReader.cpp | 5376 ReadDeclAs<UnresolvedUsingTypenameDecl>(*Loc.F, Record, Idx)); in readTypeRecord() 5385 TypedefNameDecl *Decl = ReadDeclAs<TypedefNameDecl>(*Loc.F, Record, Idx); in readTypeRecord() 5430 RecordDecl *RD = ReadDeclAs<RecordDecl>(*Loc.F, Record, Idx); in readTypeRecord() 5445 = Context.getEnumType(ReadDeclAs<EnumDecl>(*Loc.F, Record, Idx)); in readTypeRecord() 5495 = ReadDeclAs<ObjCInterfaceDecl>(*Loc.F, Record, Idx); in readTypeRecord() 5509 Protos.push_back(ReadDeclAs<ObjCProtocolDecl>(*Loc.F, Record, Idx)); in readTypeRecord() 5539 CXXRecordDecl *D = ReadDeclAs<CXXRecordDecl>(*Loc.F, Record, Idx); in readTypeRecord() 5564 = ReadDeclAs<TemplateTypeParmDecl>(*Loc.F, Record, Idx); in readTypeRecord() 5654 ESI.SourceDecl = ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx); in readExceptionSpec() 5655 ESI.SourceTemplate = ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx); in readExceptionSpec() [all …]
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 1689 T *ReadDeclAs(ModuleFile &F, const RecordData &R, unsigned &I) { in ReadDeclAs() function
|