top | up | prev | next

OperatorMangleMap Class

Definition at line 127 of FunctionSymbol.cpp

Constructors

OperatorMangleMap()

Member Functions

void Done() static
void Init() static
OperatorMangleMap& Instance() static
std::u32string Mangle(const std::u32string& groupName)

Member Variables

std::unique_ptr<OperatorMangleMap> instance static
std::unordered_map<std::u32string, std::u32string> mangleMap

Constructor Details

OperatorMangleMap Constructor

cmajor::symbols::OperatorMangleMap::OperatorMangleMap()

Definition at line 152 of FunctionSymbol.cpp
Declaration at line 137 of FunctionSymbol.cpp


Member Function Details

Done Member Function

void cmajor::symbols::OperatorMangleMap::Done() static

Definition at line 147 of FunctionSymbol.cpp :
 148 {
 149     instance.reset();
 150 }


Declaration at line 132 of FunctionSymbol.cpp


Init Member Function

void cmajor::symbols::OperatorMangleMap::Init() static

Definition at line 142 of FunctionSymbol.cpp :
 143 {
 144     instance.reset(new OperatorMangleMap());
 145 }


Declaration at line 131 of FunctionSymbol.cpp


Instance Member Function

OperatorMangleMap & cmajor::symbols::OperatorMangleMap::Instance() static

Definition at line 130 of FunctionSymbol.cpp :
 130 { Assert(instance"operator mangle map not initialized");  return *instance; }

Called by: cmajor::symbols::FunctionGroupSymbol::ComputeMangledName , cmajor::symbols::FunctionSymbol::ComputeMangledName


Mangle Member Function

std::u32string cmajor::symbols::OperatorMangleMap::Mangle(const std::u32string& groupName)

Definition at line 176 of FunctionSymbol.cpp
Declaration at line 133 of FunctionSymbol.cpp

Called by: cmajor::symbols::FunctionGroupSymbol::ComputeMangledName , cmajor::symbols::FunctionSymbol::ComputeMangledName


top | up | prev | next