summaryrefslogtreecommitdiff
path: root/source/slang/slang-ast-decl.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2025-07-16 23:43:06 -0700
committerGitHub <noreply@github.com>2025-07-17 06:43:06 +0000
commit020a16072923a66ae0985be618fd32310aa87242 (patch)
tree92eafa62d59c2fed44aa1afd47a14a31b88a22fe /source/slang/slang-ast-decl.cpp
parent5937e1e6bb3afcf84b01abadcf1eb527933449f3 (diff)
Improve lookup performance. (#7798)
* Improve lookup performance. * Cleanup. * Improve autocompletion latency.
Diffstat (limited to 'source/slang/slang-ast-decl.cpp')
-rw-r--r--source/slang/slang-ast-decl.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/source/slang/slang-ast-decl.cpp b/source/slang/slang-ast-decl.cpp
index 4d9b8718f..1e2d11600 100644
--- a/source/slang/slang-ast-decl.cpp
+++ b/source/slang/slang-ast-decl.cpp
@@ -405,25 +405,6 @@ void ContainerDecl::_ensureLookupAcceleratorsAreValid()
}
void ContainerDecl::
- _invalidateLookupAcceleratorsBecauseUnscopedEnumAttributeWillBeTurnedIntoTransparentModifier(
- UnscopedEnumAttribute* unscopedEnumAttr,
- TransparentModifier* transparentModifier)
-{
- if (isUsingOnDemandDeserializationForDirectMembers())
- {
- SLANG_UNEXPECTED("this operation shouldn't be performed on deserialized declarations");
- }
-
- SLANG_ASSERT(unscopedEnumAttr);
- SLANG_ASSERT(transparentModifier);
-
- SLANG_UNUSED(unscopedEnumAttr);
- SLANG_UNUSED(transparentModifier);
-
- _invalidateLookupAccelerators();
-}
-
-void ContainerDecl::
_removeDirectMemberConstructorDeclBecauseSynthesizedAnotherDefaultConstructorInstead(
ConstructorDecl* decl)
{