summaryrefslogtreecommitdiff
path: root/source/slang/slang-check-impl.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-03-14 14:14:18 -0700
committerGitHub <noreply@github.com>2024-03-14 14:14:18 -0700
commit78d4df0644b20b8ba4eeff459c749c4e8d261345 (patch)
tree0fec98d03281134cc46a0cc96cfd48b6107b159f /source/slang/slang-check-impl.h
parentba65c212f71a9033c11657936f202f67b01abf23 (diff)
Add diagnostic on invalid type constraint. (#3769)
Diffstat (limited to 'source/slang/slang-check-impl.h')
-rw-r--r--source/slang/slang-check-impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-check-impl.h b/source/slang/slang-check-impl.h
index b1618dfb6..28c145498 100644
--- a/source/slang/slang-check-impl.h
+++ b/source/slang/slang-check-impl.h
@@ -2017,6 +2017,7 @@ namespace Slang
SubtypeWitness* checkAndConstructSubtypeWitness(Type* subType, Type* superType);
bool isInterfaceType(Type* type);
+ bool isValidGenericConstraintType(Type* type);
bool isTypeDifferentiable(Type* type);