From 33d9f07d6c86e80c44af4de0693532cee6635135 Mon Sep 17 00:00:00 2001 From: Yong He Date: Sat, 4 Nov 2017 19:19:23 -0400 Subject: cleanup useless code --- source/slang/type-defs.h | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'source/slang/type-defs.h') diff --git a/source/slang/type-defs.h b/source/slang/type-defs.h index 7eda5b5ce..60f519c82 100644 --- a/source/slang/type-defs.h +++ b/source/slang/type-defs.h @@ -55,38 +55,6 @@ protected: ) END_SYNTAX_CLASS() -SYNTAX_CLASS(ThisType, Type) -RAW( - virtual String ToString() override; - virtual RefPtr SubstituteImpl(Substitutions* subst, int* ioDiff) override; - - ThisType() - {} - protected: - virtual int GetHashCode() override; - virtual bool EqualsImpl(Type * type) override; - virtual Type* CreateCanonicalType() override; - ) -END_SYNTAX_CLASS() - -/* -SYNTAX_CLASS(MemberType, Type) - FIELD(RefPtr, objectType) - DECL_FIELD(DeclRef, declRef) - RAW( - virtual String ToString() override; - virtual RefPtr SubstituteImpl(Substitutions* subst, int* ioDiff) override; - - MemberType() - {} - protected: - virtual int GetHashCode() override; - virtual bool EqualsImpl(Type * type) override; - virtual Type* CreateCanonicalType() override; - ) -END_SYNTAX_CLASS() -*/ - // A type that takes the form of a reference to some declaration SYNTAX_CLASS(DeclRefType, Type) DECL_FIELD(DeclRef, declRef) -- cgit v1.2.3