From 517513645afb8eaf4841e7b7035f1ba3a9c7cd57 Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Thu, 15 Jun 2017 13:12:51 -0700 Subject: Rename `Slang::Compiler` -> `Slang` This gets rid of one unecessary namespace. --- source/slang/syntax-visitors.h | 43 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 23 deletions(-) (limited to 'source/slang/syntax-visitors.h') 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 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 findOrImportModule( + CompileRequest* request, + String const& name, + CodePosition const& loc); } #endif \ No newline at end of file -- cgit v1.2.3