summaryrefslogtreecommitdiff
path: root/source/slang/syntax.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/syntax.h')
-rw-r--r--source/slang/syntax.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/slang/syntax.h b/source/slang/syntax.h
index 93e421977..b37301dec 100644
--- a/source/slang/syntax.h
+++ b/source/slang/syntax.h
@@ -969,6 +969,8 @@ namespace Slang
// used at all, to avoid allocation.
List<LookupResultItem> items;
+ HashSet<DeclRef<ContainerDecl>> lookedupDecls;
+
// Was at least one result found?
bool isValid() const { return item.declRef.getDecl() != nullptr; }
@@ -1009,7 +1011,6 @@ namespace Slang
struct LookupRequest
{
SemanticsVisitor* semantics = nullptr;
-
RefPtr<Scope> scope = nullptr;
RefPtr<Scope> endScope = nullptr;