summaryrefslogtreecommitdiff
path: root/source/slang/type-defs.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2017-11-04 19:19:23 -0400
committerYong He <yonghe@outlook.com>2017-11-04 19:19:23 -0400
commit33d9f07d6c86e80c44af4de0693532cee6635135 (patch)
tree7d07e83dbd7513ffb54632323178a2ca867e3100 /source/slang/type-defs.h
parentaeb69cb8f617d3a59e2baf38a94224c1cdb4755c (diff)
cleanup useless code
Diffstat (limited to 'source/slang/type-defs.h')
-rw-r--r--source/slang/type-defs.h32
1 files changed, 0 insertions, 32 deletions
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<Val> 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<Type>, objectType)
- DECL_FIELD(DeclRef<Decl>, declRef)
- RAW(
- virtual String ToString() override;
- virtual RefPtr<Val> 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<Decl>, declRef)