summaryrefslogtreecommitdiffstats
path: root/source/slang/lookup.cpp
diff options
context:
space:
mode:
authorTim Foley <tim.foley.is@gmail.com>2017-08-09 11:20:09 -0700
committerGitHub <noreply@github.com>2017-08-09 11:20:09 -0700
commit6e4830f4d74adef0a47c6503d84dc114240fafa3 (patch)
tree4f549da8c05be186f12442565389d9f3df44c6d7 /source/slang/lookup.cpp
parent8e4c0c35d6c2d0fd754b713441c2eee8f13f87b2 (diff)
parent695c2700de54a5fec72ce7214c137a1dc3a02d7b (diff)
Merge pull request #155 from tfoleyNV/renaming
Major naming overhaul:
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);