Skip to content

Commit 3da997e

Browse files
committed
astyle formatting
[ci skip]
1 parent 1ab5805 commit 3da997e

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

lib/checkleakautovar.cpp

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,23 @@ void VarInfo::print()
5151

5252
std::string status;
5353
switch (it->second.status) {
54-
case DEALLOC: status = "dealloc"; break;
55-
case ALLOC: status = "alloc"; break;
56-
case NOALLOC: status = "noalloc"; break;
57-
default: status = "?"; break;
54+
case DEALLOC:
55+
status = "dealloc";
56+
break;
57+
case ALLOC:
58+
status = "alloc";
59+
break;
60+
case NOALLOC:
61+
status = "noalloc";
62+
break;
63+
default:
64+
status = "?";
65+
break;
5866
};
5967

6068
std::cout << "status=" << status << " "
6169
<< "alloctype='" << it->second.type << "' "
62-
<< "possibleUsage='" << strusage << "' "
70+
<< "possibleUsage='" << strusage << "' "
6371
<< "conditionalAlloc=" << (conditionalAlloc.find(it->first) != conditionalAlloc.end() ? "yes" : "no") << " "
6472
<< "referenced=" << (referenced.find(it->first) != referenced.end() ? "yes" : "no") << " "
6573
<< std::endl;

0 commit comments

Comments
 (0)