Make mangler a class and reformat graph.

This commit is contained in:
2020-09-15 19:13:48 -07:00
parent f2f88ab9ca
commit 55e4e61906
2 changed files with 32 additions and 29 deletions

View File

@@ -2,8 +2,10 @@
#include <string>
#include <map>
struct mangler {
std::map<std::string, int> occurence_count;
class mangler {
private:
std::map<std::string, int> occurence_count;
std::string new_mangled_name(const std::string& str);
public:
std::string new_mangled_name(const std::string& str);
};