Home
last modified time | relevance | path

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

/external/clang/lib/Serialization/
DASTReaderDecl.cpp201 Reader.GetDecl(DeclContextIDForTemplateParmDecl))); in Visit()
204 Reader.GetDecl(LexicalDeclContextIDForTemplateParmDecl))); in Visit()
218 D->setDeclContext(cast_or_null<DeclContext>(Reader.GetDecl(Record[Idx++]))); in VisitDecl()
220 cast_or_null<DeclContext>(Reader.GetDecl(Record[Idx++]))); in VisitDecl()
239 cast_or_null<NamespaceDecl>(Reader.GetDecl(Record[Idx++]))); in VisitTranslationUnitDecl()
278 cast_or_null<TypedefNameDecl>(Reader.GetDecl(Record[Idx++]))); in VisitTagDecl()
294 cast_or_null<EnumDecl>(Reader.GetDecl(Record[Idx++]))); in VisitEnumDecl()
340 cast<FunctionTemplateDecl>(Reader.GetDecl(Record[Idx++]))); in VisitFunctionDecl()
343 FunctionDecl *InstFD = cast<FunctionDecl>(Reader.GetDecl(Record[Idx++])); in VisitFunctionDecl()
352 = cast<FunctionTemplateDecl>(Reader.GetDecl(Record[Idx++])); in VisitFunctionDecl()
[all …]
DASTReaderStmt.cpp133 LabelDecl *LD = cast<LabelDecl>(Reader.GetDecl(Record[Idx++])); in VisitLabelStmt()
143 cast_or_null<VarDecl>(Reader.GetDecl(Record[Idx++]))); in VisitIfStmt()
154 cast_or_null<VarDecl>(Reader.GetDecl(Record[Idx++]))); in VisitSwitchStmt()
176 cast_or_null<VarDecl>(Reader.GetDecl(Record[Idx++]))); in VisitWhileStmt()
196 cast_or_null<VarDecl>(Reader.GetDecl(Record[Idx++]))); in VisitForStmt()
206 S->setLabel(cast<LabelDecl>(Reader.GetDecl(Record[Idx++]))); in VisitGotoStmt()
232 S->setNRVOCandidate(cast_or_null<VarDecl>(Reader.GetDecl(Record[Idx++]))); in VisitReturnStmt()
242 S->setDeclGroup(DeclGroupRef(Reader.GetDecl(Record[Idx++]))); in VisitDeclStmt()
247 Decls.push_back(Reader.GetDecl(Record[Idx])); in VisitDeclStmt()
321 E->getInternalFoundDecl() = cast<NamedDecl>(Reader.GetDecl(Record[Idx++])); in VisitDeclRefExpr()
[all …]
DASTReader.cpp551 = cast<ObjCMethodDecl>(Reader.GetDecl(ReadUnalignedLE32(d))); in ReadData()
569 = cast<ObjCMethodDecl>(Reader.GetDecl(ReadUnalignedLE32(d))); in ReadData()
2897 cast<FunctionDecl>(GetDecl(CUDASpecialDeclRefs[0]))); in InitializeContext()
3362 cast<UnresolvedUsingTypenameDecl>(GetDecl(Record[0]))); in ReadTypeRecord()
3369 TypedefNameDecl *Decl = cast<TypedefNameDecl>(GetDecl(Record[0])); in ReadTypeRecord()
3407 QualType T = Context->getRecordType(cast<RecordDecl>(GetDecl(Record[1]))); in ReadTypeRecord()
3418 QualType T = Context->getEnumType(cast<EnumDecl>(GetDecl(Record[1]))); in ReadTypeRecord()
3467 ObjCInterfaceDecl *ItfD = cast<ObjCInterfaceDecl>(GetDecl(Record[Idx++])); in ReadTypeRecord()
3477 Protos.push_back(cast<ObjCProtocolDecl>(GetDecl(Record[Idx++]))); in ReadTypeRecord()
3506 CXXRecordDecl *D = cast<CXXRecordDecl>(GetDecl(Record[0])); in ReadTypeRecord()
[all …]
/external/clang/include/clang/Serialization/
DASTReader.h1079 Decl *GetDecl(serialization::DeclID ID);