From af7f40063dfed1c651d33b93956c7623a7d2c050 Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 29 Nov 2022 14:16:05 -0800 Subject: Complete removal of DifferentialBottom type. (#2537) Co-authored-by: Yong He --- source/slang/slang-ast-builder.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'source/slang/slang-ast-builder.cpp') diff --git a/source/slang/slang-ast-builder.cpp b/source/slang/slang-ast-builder.cpp index 819fe7d25..d8fec88ce 100644 --- a/source/slang/slang-ast-builder.cpp +++ b/source/slang/slang-ast-builder.cpp @@ -141,16 +141,6 @@ Type* SharedASTBuilder::getNoneType() return m_noneType; } -Type* SharedASTBuilder::getDifferentialBottomType() -{ - if (!m_diffBottomType) - { - auto diffBottomTypeDecl = findMagicDecl("DifferentialBottomType"); - m_diffBottomType = DeclRefType::create(m_astBuilder, makeDeclRef(diffBottomTypeDecl)); - } - return m_diffBottomType; -} - SharedASTBuilder::~SharedASTBuilder() { // Release built in types.. -- cgit v1.2.3