summaryrefslogtreecommitdiff
path: root/source/slang/slang-check-conformance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-check-conformance.cpp')
-rw-r--r--source/slang/slang-check-conformance.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/slang/slang-check-conformance.cpp b/source/slang/slang-check-conformance.cpp
index ff4a40031..a0e51b180 100644
--- a/source/slang/slang-check-conformance.cpp
+++ b/source/slang/slang-check-conformance.cpp
@@ -227,16 +227,6 @@ namespace Slang
return nullptr;
}
- bool SemanticsVisitor::isInterfaceType(Type* type)
- {
- if (auto declRefType = as<DeclRefType>(type))
- {
- if (auto interfaceDeclRef = declRefType->getDeclRef().as<InterfaceDecl>())
- return true;
- }
- return false;
- }
-
bool SemanticsVisitor::isValidGenericConstraintType(Type* type)
{
if (auto andType = as<AndType>(type))