MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / indent

Function indent

lib/token.cpp:1691–1697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1689}
1690
1691static void indent(std::string &str, const nonneg int indent1, const nonneg int indent2)
1692{
1693 for (int i = 0; i < indent1; ++i)
1694 str += ' ';
1695 for (int i = indent1; i < indent2; i += 2)
1696 str += "| ";
1697}
1698
1699void Token::astStringVerboseRecursive(std::string& ret, const nonneg int indent1, const nonneg int indent2) const
1700{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected