summaryrefslogtreecommitdiff
path: root/source/slang/mangle.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/mangle.h')
-rw-r--r--source/slang/mangle.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/slang/mangle.h b/source/slang/mangle.h
index 286e2c2c3..11196f496 100644
--- a/source/slang/mangle.h
+++ b/source/slang/mangle.h
@@ -4,12 +4,13 @@
// This file implements the name mangling scheme for the Slang language.
#include "../core/basic.h"
+#include "syntax.h"
namespace Slang
{
- class Decl;
-
String getMangledName(Decl* decl);
+ String getMangledName(DeclRef<Decl> const & declRef);
+ String getMangledName(DeclRefBase const & declRef);
}
#endif \ No newline at end of file