summaryrefslogtreecommitdiffstats
path: root/source/slang/syntax-visitors.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/syntax-visitors.h')
-rw-r--r--source/slang/syntax-visitors.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/source/slang/syntax-visitors.h b/source/slang/syntax-visitors.h
index 9644deae1..3fca323e8 100644
--- a/source/slang/syntax-visitors.h
+++ b/source/slang/syntax-visitors.h
@@ -6,8 +6,10 @@
namespace Slang
{
- class CompileRequest;
- class EntryPointRequest;
+ class DiagnosticSink;
+ class EntryPoint;
+ class Linkage;
+ class Module;
class ShaderCompiler;
class ShaderLinkInfo;
class ShaderSymbol;
@@ -24,10 +26,11 @@ namespace Slang
// Needed by import declaration checking.
//
// TODO: need a better location to declare this.
- RefPtr<ModuleDecl> findOrImportModule(
- CompileRequest* request,
+ RefPtr<Module> findOrImportModule(
+ Linkage* linkage,
Name* name,
- SourceLoc const& loc);
+ SourceLoc const& loc,
+ DiagnosticSink* sink);
}
#endif \ No newline at end of file