MCPcopy Create free account
hub / github.com/Koihik/LuaFormatter / func_begin

Function func_begin

src/FormatVisitor.cpp:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17static std::unordered_map<std::string, int> countMp;
18
19void func_begin(std::string funcName) {
20#ifdef LOG_FUNC_VISIT
21 logIndentSize++;
22 for (int i = 0; i < logIndentSize; i++) std::cout << LOG_INDENT;
23 std::cout << funcName << " begin.." << std::endl;
24#endif
25}
26
27void func_end(std::string funcName) {
28 countMp[funcName]++;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected