diff options
| author | Yong He <yonghe@outlook.com> | 2022-11-29 14:16:05 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-29 14:16:05 -0800 |
| commit | af7f40063dfed1c651d33b93956c7623a7d2c050 (patch) | |
| tree | fd2225cffda6a9a887051bd00c5ccaba9ec6b5ea /source/slang/slang-ast-builder.cpp | |
| parent | d85c7b809d02e6dc0844aab07e66a6bac2462017 (diff) | |
Complete removal of DifferentialBottom type. (#2537)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-ast-builder.cpp')
| -rw-r--r-- | source/slang/slang-ast-builder.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
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<Decl>(diffBottomTypeDecl)); - } - return m_diffBottomType; -} - SharedASTBuilder::~SharedASTBuilder() { // Release built in types.. |
