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.cpp630 clang::RecordDecl *RD = T->getAsUnionType()->getDecl(); in CountRSObjectTypes() local
631 RD = RD->getDefinition(); in CountRSObjectTypes()
632 for (clang::RecordDecl::field_iterator FI = RD->field_begin(), in CountRSObjectTypes()
633 FE = RD->field_end(); in CountRSObjectTypes()
649 clang::RecordDecl *RD = T->getAsStructureType()->getDecl(); in CountRSObjectTypes() local
650 RD = RD->getDefinition(); in CountRSObjectTypes()
651 for (clang::RecordDecl::field_iterator FI = RD->field_begin(), in CountRSObjectTypes()
652 FE = RD->field_end(); in CountRSObjectTypes()
690 clang::RecordDecl *RD = BaseType->getAsStructureType()->getDecl(); in ClearStructRSObject() local
691 RD = RD->getDefinition(); in ClearStructRSObject()
[all …]
Dslang_rs.cpp119 ReflectedDefinitionListTy::const_iterator RD = in checkODR() local
122 if (RD != ReflectedDefinitions.end()) { in checkODR()
123 const RSExportRecordType *Reflected = RD->getValue().first; in checkODR()
164 << 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()