blob: 7fc8d0d93dbb2617223d33c22e042f28f706de26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef SLANG_MANGLE_H_INCLUDED
#define SLANG_MANGLE_H_INCLUDED
// This file implements the name mangling scheme for the Slang language.
#include "../core/basic.h"
#include "syntax.h"
namespace Slang
{
struct IRSpecialize;
String getMangledName(Decl* decl);
String getMangledName(DeclRef<Decl> const & declRef);
String getMangledName(DeclRefBase const & declRef);
String getMangledNameForConformanceWitness(
Type* sub,
Type* sup);
String getMangledNameForConformanceWitness(
DeclRef<Decl> sub,
DeclRef<Decl> sup);
String getMangledNameForConformanceWitness(
DeclRef<Decl> sub,
Type* sup);
String getMangledTypeName(Type* type);
}
#endif
|