summaryrefslogtreecommitdiffstats
path: root/source/slang/syntax.h
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-06-15 15:21:20 -0700
committerTim Foley <tfoley@nvidia.com>2017-06-15 15:31:22 -0700
commit04d43cd71f081f1b8d2f0fd803a47cb6342e4fcd (patch)
tree199e9a54596c572015c7b0652e62b941418f483f /source/slang/syntax.h
parent205187b561c3b31fa931e73e8f7263f0c4b1de41 (diff)
Remove more "core" code that isn't used.
It is always easier to add back code when you need it, than it is to maintain code you aren't using.
Diffstat (limited to 'source/slang/syntax.h')
-rw-r--r--source/slang/syntax.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/source/slang/syntax.h b/source/slang/syntax.h
index 3cd46914f..96eb3d530 100644
--- a/source/slang/syntax.h
+++ b/source/slang/syntax.h
@@ -1133,16 +1133,6 @@ namespace Slang
return 0;
}
- class Type
- {
- public:
- RefPtr<ExpressionType> DataType;
- // ContrainedWorlds: Implementation must be defined at at least one of of these worlds in order to satisfy global dependency
- // FeasibleWorlds: The component can be computed at any of these worlds
- EnumerableHashSet<String> ConstrainedWorlds, FeasibleWorlds;
- EnumerableHashSet<String> PinnedWorlds;
- };
-
class ContainerDecl;
@@ -2507,7 +2497,7 @@ namespace Slang
//
- class SyntaxVisitor : public Object
+ class SyntaxVisitor
{
protected:
DiagnosticSink * sink = nullptr;
@@ -2523,6 +2513,10 @@ namespace Slang
SyntaxVisitor(DiagnosticSink * sink)
: sink(sink)
{}
+ virtual ~SyntaxVisitor()
+ {
+ }
+
virtual RefPtr<ProgramSyntaxNode> VisitProgram(ProgramSyntaxNode* program)
{
for (auto & m : program->Members)