summaryrefslogtreecommitdiffstats
path: root/source/slang/lookup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/lookup.cpp')
-rw-r--r--source/slang/lookup.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/slang/lookup.cpp b/source/slang/lookup.cpp
index b0e9ce971..3370b369b 100644
--- a/source/slang/lookup.cpp
+++ b/source/slang/lookup.cpp
@@ -8,7 +8,7 @@ namespace Slang {
DeclRef<ExtensionDecl> ApplyExtensionToType(
SemanticsVisitor* semantics,
ExtensionDecl* extDecl,
- RefPtr<ExpressionType> type);
+ RefPtr<Type> type);
//
@@ -74,11 +74,11 @@ bool DeclPassesLookupMask(Decl* decl, LookupMask mask)
// type declarations
if(auto aggTypeDecl = dynamic_cast<AggTypeDecl*>(decl))
{
- return int(mask) & int(LookupMask::Type);
+ return int(mask) & int(LookupMask::type);
}
else if(auto simpleTypeDecl = dynamic_cast<SimpleTypeDecl*>(decl))
{
- return int(mask) & int(LookupMask::Type);
+ return int(mask) & int(LookupMask::type);
}
// function declarations
else if(auto funcDecl = dynamic_cast<FunctionDeclBase*>(decl))
@@ -154,7 +154,7 @@ LookupResultItem CreateLookupResultItem(
void DoMemberLookupImpl(
Session* session,
String const& name,
- RefPtr<ExpressionType> baseType,
+ RefPtr<Type> baseType,
LookupRequest const& request,
LookupResult& ioResult,
BreadcrumbInfo* breadcrumbs)
@@ -270,7 +270,7 @@ void DoLocalLookupImpl(
// Consider lookup via extension
if( auto aggTypeDeclRef = containerDeclRef.As<AggTypeDecl>() )
{
- RefPtr<ExpressionType> type = DeclRefType::Create(
+ RefPtr<Type> type = DeclRefType::Create(
session,
aggTypeDeclRef);