diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-06-22 15:32:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-22 15:32:42 -0700 |
| commit | d506737b8b00bcc89adf937994ceb6df4509c98a (patch) | |
| tree | 116aa4ce97675dc8a6690686713b31bd07560c71 /source/slang/syntax.h | |
| parent | 5170a56727c15da1443e8f9b0f21395861da9b0c (diff) | |
| parent | 1eb5a1bc44e950b6b74c0907984adfe4d971917c (diff) | |
Merge pull request #39 from tfoleyNV/vector-constructors
Standard library additions + supporting features
Diffstat (limited to 'source/slang/syntax.h')
| -rw-r--r-- | source/slang/syntax.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/source/slang/syntax.h b/source/slang/syntax.h index 66eddc536..5eb62462e 100644 --- a/source/slang/syntax.h +++ b/source/slang/syntax.h @@ -632,7 +632,7 @@ namespace Slang class Decl : public DeclBase { public: - ContainerDecl* ParentDecl; + ContainerDecl* ParentDecl = nullptr; Token Name; String const& getName() { return Name.Content; } @@ -1883,12 +1883,16 @@ namespace Slang bool isOverloaded() const { return items.Count() > 1; } }; + class SemanticsVisitor; + struct LookupRequest { - RefPtr<Scope> scope = nullptr; - RefPtr<Scope> endScope = nullptr; + SemanticsVisitor* semantics = nullptr; + + RefPtr<Scope> scope = nullptr; + RefPtr<Scope> endScope = nullptr; - LookupMask mask = LookupMask::All; + LookupMask mask = LookupMask::All; }; // An expression that references an overloaded set of declarations |
