summaryrefslogtreecommitdiffstats
path: root/source/slang/lower.cpp
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/lower.cpp
parentaeb69cb8f617d3a59e2baf38a94224c1cdb4755c (diff)
cleanup useless code
Diffstat (limited to 'source/slang/lower.cpp')
-rw-r--r--source/slang/lower.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/slang/lower.cpp b/source/slang/lower.cpp
index e2c9496f4..44ad5c272 100644
--- a/source/slang/lower.cpp
+++ b/source/slang/lower.cpp
@@ -765,11 +765,6 @@ struct LoweringVisitor
loweredDeclRef.As<Decl>());
}
- RefPtr<Type> visitThisType(ThisType* type)
- {
- return type;
- }
-
RefPtr<Type> visitNamedExpressionType(NamedExpressionType* type)
{
if (shared->target == CodeGenTarget::GLSL)