summaryrefslogtreecommitdiff
path: root/src/trans/mangling.hpp
blob: ad6c9addd5844ca881a9b7aafaa1130a44d64375 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * MRustC - Rust Compiler
 * - By John Hodge (Mutabah/thePowersGang)
 *
 * trans/mangling.hpp
 * - Name mangling support
 */
#pragma once
#include <string>
#include <debug.hpp>

namespace HIR {
    class GenericPath;
    class Path;
    class TypeRef;
}

extern ::FmtLambda Trans_Mangle(const ::HIR::GenericPath& path);
extern ::FmtLambda Trans_Mangle(const ::HIR::Path& path);
extern ::FmtLambda Trans_Mangle(const ::HIR::TypeRef& ty);