ClangFormat: format '#if 0' code

Previous cleanups didn't account for space after '#'.
This commit is contained in:
2019-04-17 08:50:46 +02:00
parent 223f931095
commit a54bdd76cb
36 changed files with 291 additions and 183 deletions

View File

@@ -315,10 +315,13 @@ bool DebugInfo::graphviz_system(const ExecutionSystem *system, char *str, int ma
# if 0
for (ExecutionSystem::Operations::const_iterator it = system->m_operations.begin();
it != system->m_operations.end(); ++it)
{
it != system->m_operations.end();
++it) {
NodeOperation *op = *it;
len += snprintf(str + len, maxlen > len ? maxlen - len : 0, "// OPERATION: %s\r\n", node->getbNode()->typeinfo->ui_name);
len += snprintf(str + len,
maxlen > len ? maxlen - len : 0,
"// OPERATION: %s\r\n",
node->getbNode()->typeinfo->ui_name);
}
# endif