Home
last modified time | relevance | path

Searched refs:RD (Results 1 – 5 of 5) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_export_type.cpp201 clang::RecordDecl *RD = T->getAsStructureType()->getDecl(); in TypeExportableHelper() local
202 if (RD != NULL) { in TypeExportableHelper()
203 RD = RD->getDefinition(); in TypeExportableHelper()
204 if (RD == NULL) { in TypeExportableHelper()
212 TopLevelRecord = RD; in TypeExportableHelper()
214 if (RD->getName().empty()) { in TypeExportableHelper()
215 ReportTypeError(DiagEngine, NULL, RD, in TypeExportableHelper()
221 if (RD->hasFlexibleArrayMember() || RD->hasObjectMember()) in TypeExportableHelper()
228 for (clang::RecordDecl::field_iterator FI = RD->field_begin(), in TypeExportableHelper()
229 FE = RD->field_end(); in TypeExportableHelper()
[all …]
Dslang_rs_export_func.cpp74 clang::RecordDecl *RD = in Create() local
93 RD, in Create()
102 RD->addDecl(FD); in Create()
105 RD->completeDefinition(); in Create()
107 clang::QualType T = Ctx.getTagDeclType(RD); in Create()
Dslang_rs_object_ref_count.cpp631 clang::RecordDecl *RD = T->getAsUnionType()->getDecl(); in CountRSObjectTypes() local
632 RD = RD->getDefinition(); in CountRSObjectTypes()
633 for (clang::RecordDecl::field_iterator FI = RD->field_begin(), in CountRSObjectTypes()
634 FE = RD->field_end(); in CountRSObjectTypes()
650 clang::RecordDecl *RD = T->getAsStructureType()->getDecl(); in CountRSObjectTypes() local
651 RD = RD->getDefinition(); in CountRSObjectTypes()
652 for (clang::RecordDecl::field_iterator FI = RD->field_begin(), in CountRSObjectTypes()
653 FE = RD->field_end(); in CountRSObjectTypes()
691 clang::RecordDecl *RD = BaseType->getAsStructureType()->getDecl(); in ClearStructRSObject() local
692 RD = RD->getDefinition(); in ClearStructRSObject()
[all …]
Dslang_rs.cpp123 ReflectedDefinitionListTy::const_iterator RD = in checkODR() local
126 if (RD != ReflectedDefinitions.end()) { in checkODR()
127 const RSExportRecordType *Reflected = RD->getValue().first; in checkODR()
168 << RD->getValue().second; in checkODR()
Dslang_rs_export_foreach.cpp423 clang::RecordDecl *RD = in Create() local
432 RD, in Create()
441 RD->addDecl(FD); in Create()
442 RD->completeDefinition(); in Create()
445 clang::QualType T = Ctx.getTagDeclType(RD); in Create()