| chigraph master Systems programming language written for beginners in LLVM

NameMangler.hpp
Go to the documentation of this file.
1
4 #pragma once
5
6 #ifndef CHI_NAME_MANGLER_HPP
7 #define CHI_NAME_MANGLER_HPP
8
9 #include <string>
10 #include <utility>
11
12 namespace chi {
13
17
22 std::string mangleFunctionName(std::string fullModuleName, const std::string& name);
23
27 std::pair<std::string, std::string> unmangleFunctionName(std::string mangled);
28
30 } // namespace chi
31
32 #endif // CHI_NAME_MANGLER_HPP
chi::mangleFunctionName
std::string mangleFunctionName(std::string fullModuleName, const std::string &name)
Mangle a function name.
Definition: NameMangler.cpp:9
chi::unmangleFunctionName
std::pair< std::string, std::string > unmangleFunctionName(std::string mangled)
Unmangle a function name.
Definition: NameMangler.cpp:45
chi
The namespace where chigraph lives.
Definition: BitcodeParser.hpp:12