summaryrefslogtreecommitdiff
path: root/source/slang/slang-ast-type.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-11-29 14:16:05 -0800
committerGitHub <noreply@github.com>2022-11-29 14:16:05 -0800
commitaf7f40063dfed1c651d33b93956c7623a7d2c050 (patch)
treefd2225cffda6a9a887051bd00c5ccaba9ec6b5ea /source/slang/slang-ast-type.cpp
parentd85c7b809d02e6dc0844aab07e66a6bac2462017 (diff)
Complete removal of DifferentialBottom type. (#2537)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-ast-type.cpp')
-rw-r--r--source/slang/slang-ast-type.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/source/slang/slang-ast-type.cpp b/source/slang/slang-ast-type.cpp
index 3fcc762ec..3801b99b0 100644
--- a/source/slang/slang-ast-type.cpp
+++ b/source/slang/slang-ast-type.cpp
@@ -169,27 +169,6 @@ Val* BottomType::_substituteImplOverride(
HashCode BottomType::_getHashCodeOverride() { return HashCode(size_t(this)); }
-// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DifferentialBottomType !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
-void DifferentialBottomType::_toTextOverride(StringBuilder& out) { out << toSlice("diff_bottom"); }
-
-bool DifferentialBottomType::_equalsImplOverride(Type* type)
-{
- if (auto bottomType = as<DifferentialBottomType>(type))
- return true;
- return false;
-}
-
-Type* DifferentialBottomType::_createCanonicalTypeOverride() { return this; }
-
-Val* DifferentialBottomType::_substituteImplOverride(
- ASTBuilder* /* astBuilder */, SubstitutionSet /*subst*/, int* /*ioDiff*/)
-{
- return this;
-}
-
-HashCode DifferentialBottomType::_getHashCodeOverride() { return HashCode(size_t(this)); }
-
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DeclRefType !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
void DeclRefType::_toTextOverride(StringBuilder& out)