Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Implementation of Programming Languages / Transpiler / src / LLVMVisitor / Register.h
blob: 768cfbc028d41c9e58cf36731b2f75461152d0bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef LLVMVISITOR_REGISTER
#define LLVMVISITOR_REGISTER

#include <string>

class Register {
	std::string prepend;
	unsigned counter;

public:
	Register(std::string prepend);
	Register& operator++();
	Register operator++(int);
	std::string operator*();
};

#endif