Home
last modified time | relevance | path

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

/external/clang/lib/Serialization/
DASTReaderDecl.cpp80 T *ReadDeclAs(const RecordData &R, unsigned &I) { in ReadDeclAs() function in clang::ASTDeclReader
81 return Reader.ReadDeclAs<T>(F, R, I); in ReadDeclAs()
436 DeclContext *SemaDC = ReadDeclAs<DeclContext>(Record, Idx); in VisitDecl()
437 DeclContext *LexicalDC = ReadDeclAs<DeclContext>(Record, Idx); in VisitDecl()
521 if (auto *Template = ReadDeclAs<TypeAliasTemplateDecl>(Record, Idx)) in VisitTypeAliasDecl()
592 if (EnumDecl *InstED = ReadDeclAs<EnumDecl>(Record, Idx)) { in VisitEnumDecl()
668 FD->setDescribedFunctionTemplate(ReadDeclAs<FunctionTemplateDecl>(Record, in VisitFunctionDecl()
672 FunctionDecl *InstFD = ReadDeclAs<FunctionDecl>(Record, Idx); in VisitFunctionDecl()
681 FunctionTemplateDecl *Template = ReadDeclAs<FunctionTemplateDecl>(Record, in VisitFunctionDecl()
724 = 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()
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()
387 S->setCapturedDecl(ReadDeclAs<CapturedDecl>(Record, Idx)); in VisitCapturedStmt()
[all …]
DASTReader.cpp5430 ReadDeclAs<UnresolvedUsingTypenameDecl>(*Loc.F, Record, Idx)); in readTypeRecord()
5439 TypedefNameDecl *Decl = ReadDeclAs<TypedefNameDecl>(*Loc.F, Record, Idx); in readTypeRecord()
5484 RecordDecl *RD = ReadDeclAs<RecordDecl>(*Loc.F, Record, Idx); in readTypeRecord()
5499 = Context.getEnumType(ReadDeclAs<EnumDecl>(*Loc.F, Record, Idx)); in readTypeRecord()
5549 = ReadDeclAs<ObjCInterfaceDecl>(*Loc.F, Record, Idx); in readTypeRecord()
5559 Protos.push_back(ReadDeclAs<ObjCProtocolDecl>(*Loc.F, Record, Idx)); in readTypeRecord()
5588 CXXRecordDecl *D = ReadDeclAs<CXXRecordDecl>(*Loc.F, Record, Idx); in readTypeRecord()
5613 = ReadDeclAs<TemplateTypeParmDecl>(*Loc.F, Record, Idx); in readTypeRecord()
5703 ESI.SourceDecl = ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx); in readExceptionSpec()
5704 ESI.SourceTemplate = ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx); in readExceptionSpec()
[all …]
/external/clang/include/clang/Serialization/
DASTReader.h1690 T *ReadDeclAs(ModuleFile &F, const RecordData &R, unsigned &I) { in ReadDeclAs() function