summaryrefslogtreecommitdiff
path: root/source/slang/syntax-visitors.h
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-06-15 13:12:51 -0700
committerTim Foley <tfoley@nvidia.com>2017-06-15 13:12:51 -0700
commit517513645afb8eaf4841e7b7035f1ba3a9c7cd57 (patch)
treeeb0fdf58f5f42c427ade3aac136a9053fbf21d54 /source/slang/syntax-visitors.h
parentc34a433d7aa3fdbfefee22f20d5aac2d960f392a (diff)
Rename `Slang::Compiler` -> `Slang`
This gets rid of one unecessary namespace.
Diffstat (limited to 'source/slang/syntax-visitors.h')
-rw-r--r--source/slang/syntax-visitors.h43
1 files changed, 20 insertions, 23 deletions
diff --git a/source/slang/syntax-visitors.h b/source/slang/syntax-visitors.h
index da1984f05..f83334155 100644
--- a/source/slang/syntax-visitors.h
+++ b/source/slang/syntax-visitors.h
@@ -7,31 +7,28 @@
namespace Slang
{
- namespace Compiler
- {
- class CompileOptions;
- struct CompileRequest;
- class ShaderCompiler;
- class ShaderLinkInfo;
- class ShaderSymbol;
+ class CompileOptions;
+ struct CompileRequest;
+ class ShaderCompiler;
+ class ShaderLinkInfo;
+ class ShaderSymbol;
- SyntaxVisitor* CreateSemanticsVisitor(
- DiagnosticSink* err,
- CompileOptions const& options,
- CompileRequest* request);
+ SyntaxVisitor* CreateSemanticsVisitor(
+ DiagnosticSink* err,
+ CompileOptions const& options,
+ CompileRequest* request);
- // Look for a module that matches the given name:
- // either one we've loaded already, or one we
- // can find vai the search paths available to us.
- //
- // Needed by import declaration checking.
- //
- // TODO: need a better location to declare this.
- RefPtr<ProgramSyntaxNode> findOrImportModule(
- CompileRequest* request,
- String const& name,
- CodePosition const& loc);
- }
+ // Look for a module that matches the given name:
+ // either one we've loaded already, or one we
+ // can find vai the search paths available to us.
+ //
+ // Needed by import declaration checking.
+ //
+ // TODO: need a better location to declare this.
+ RefPtr<ProgramSyntaxNode> findOrImportModule(
+ CompileRequest* request,
+ String const& name,
+ CodePosition const& loc);
}
#endif \ No newline at end of file