Home | History | Annotate | Download | only in slang

Lines Matching defs:RSExportType

308         const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
389 // Return the type that can be used to create RSExportType, will always return
517 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
622 /****************************** RSExportType ******************************/
623 bool RSExportType::NormalizeType(const clang::Type *&T,
631 TypeName = RSExportType::GetTypeName(T);
645 bool RSExportType::ValidateType(slang::RSContext *Context, clang::ASTContext &C,
658 bool RSExportType::ValidateVarDecl(slang::RSContext *Context,
666 *RSExportType::GetTypeOfDecl(const clang::DeclaratorDecl *DD) {
678 llvm::StringRef RSExportType::GetTypeName(const clang::Type* T) {
758 RSExportType *RSExportType::Create(RSContext *Context,
762 // Newly created RSExportType will insert into context
763 // in RSExportType::RSExportType()
771 RSExportType *ET = NULL;
823 // FIXME: free the name (allocated in RSExportType::GetTypeName)
849 RSExportType *RSExportType::Create(RSContext *Context, const clang::Type *T) {
858 RSExportType *RSExportType::CreateFromDecl(RSContext *Context,
860 return RSExportType::Create(Context, GetTypeOfDecl(VD));
863 size_t RSExportType::getStoreSize() const {
867 size_t RSExportType::getAllocSize() const {
871 RSExportType::RSExportType(RSContext *Context,
890 bool RSExportType::keep() {
898 bool RSExportType::equals(const RSExportable *E) const {
900 return (static_cast<const RSExportType*>(E)->getClass() == getClass());
903 RSExportType::~RSExportType() {
941 return GetRSSpecificType( RSExportType::GetTypeName(T) );
984 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
1080 if (RSExportType::NormalizeType(T, TypeName, Context, NULL)
1157 CHECK_PARENT_EQUALITY(RSExportType, E);
1176 const RSExportType *PointeeET;
1179 PointeeET = RSExportType::Create(Context, PointeeType);
1200 if (!RSExportType::keep())
1202 const_cast<RSExportType*>(mPointeeType)->keep();
1207 CHECK_PARENT_EQUALITY(RSExportType, E);
1295 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
1351 CHECK_PARENT_EQUALITY(RSExportType, E);
1367 RSExportType *ElementET = RSExportType::Create(Context, ElementType);
1383 if (!RSExportType::keep())
1385 const_cast<RSExportType*>(mElementType)->keep();
1390 CHECK_PARENT_EQUALITY(RSExportType, E);
1443 RSExportType *ET = RSExportElement::CreateFromDecl(Context, FD);
1470 const RSExportType *FET = F->getType();
1486 if (!RSExportType::keep())
1492 const_cast<RSExportType*>((*I)->getType())->keep();
1498 CHECK_PARENT_EQUALITY(RSExportType, E);
1517 void RSExportType::convertToRTD(RSReflectionTypeData *rtd) const {
1522 case RSExportType::ExportClassPrimitive: {
1527 case RSExportType::ExportClassPointer: {
1529 const RSExportType *PointeeType = EPT->getPointeeType();
1534 case RSExportType::ExportClassVector: {
1540 case RSExportType::ExportClassMatrix: {
1547 case RSExportType::ExportClassConstantArray: {
1554 case RSExportType::ExportClassRecord: {
1555 slangAssert(!"RSExportType::ExportClassRecord not implemented");