2020-09-15 18:51:28 -07:00
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include <map>
|
|
|
|
|
2020-09-15 19:13:48 -07:00
|
|
|
class mangler {
|
|
|
|
private:
|
|
|
|
std::map<std::string, int> occurence_count;
|
2020-09-15 18:51:28 -07:00
|
|
|
|
2020-09-15 19:13:48 -07:00
|
|
|
public:
|
|
|
|
std::string new_mangled_name(const std::string& str);
|
2020-09-15 18:51:28 -07:00
|
|
|
};
|