diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2019-05-31 17:20:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-31 17:20:37 -0400 |
| commit | 6cbc3929a54d37bd23cb5efa8e3320ba02f78b2f (patch) | |
| tree | 5a23cb47782e9e2a77762c90dd35da1005eba8d0 /source/slang/lookup.h | |
| parent | b81ff3ef968d1cc4e954b31a1812b3c391d17b02 (diff) | |
Use slang- prefix on slang compiler and core source (#973)
* Prefixing source files in source/slang with slang-
* Prefix source in source/slang with slang- prefix.
* Rename core source files with slang- prefix.
* Update project files.
* Fix problems from automatic merge.
Diffstat (limited to 'source/slang/lookup.h')
| -rw-r--r-- | source/slang/lookup.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/source/slang/lookup.h b/source/slang/lookup.h deleted file mode 100644 index 37ab5cf06..000000000 --- a/source/slang/lookup.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef SLANG_LOOKUP_H_INCLUDED -#define SLANG_LOOKUP_H_INCLUDED - -#include "syntax.h" - -namespace Slang { - -struct SemanticsVisitor; - -// Take an existing lookup result and refine it to only include -// results that pass the given `LookupMask`. -LookupResult refineLookup(LookupResult const& inResult, LookupMask mask); - -// Ensure that the dictionary for name-based member lookup has been -// built for the given container declaration. -void buildMemberDictionary(ContainerDecl* decl); - -// Look up a name in the given scope, proceeding up through -// parent scopes as needed. -LookupResult lookUp( - Session* session, - SemanticsVisitor* semantics, - Name* name, - RefPtr<Scope> scope, - LookupMask mask = LookupMask::Default); - -// perform lookup within the context of a particular container declaration, -// and do *not* look further up the chain -LookupResult lookUpLocal( - Session* session, - SemanticsVisitor* semantics, - Name* name, - DeclRef<ContainerDecl> containerDeclRef, - LookupMask mask = LookupMask::Default); - -// Perform member lookup in the context of a type -LookupResult lookUpMember( - Session* session, - SemanticsVisitor* semantics, - Name* name, - Type* type, - LookupMask mask = LookupMask::Default); - -// TODO: this belongs somewhere else - -QualType getTypeForDeclRef( - Session* session, - SemanticsVisitor* sema, - DiagnosticSink* sink, - DeclRef<Decl> declRef, - RefPtr<Type>* outTypeResult); - -QualType getTypeForDeclRef( - Session* session, - DeclRef<Decl> declRef); - - -} - -#endif
\ No newline at end of file |
