From 3da997e163597fe87290b51474b313f5da37b089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 8 Feb 2016 10:44:04 +0100 Subject: [PATCH] astyle formatting [ci skip] --- lib/checkleakautovar.cpp | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/lib/checkleakautovar.cpp b/lib/checkleakautovar.cpp index 51187161c..82d9bc6ad 100644 --- a/lib/checkleakautovar.cpp +++ b/lib/checkleakautovar.cpp @@ -51,15 +51,23 @@ void VarInfo::print() std::string status; switch (it->second.status) { - case DEALLOC: status = "dealloc"; break; - case ALLOC: status = "alloc"; break; - case NOALLOC: status = "noalloc"; break; - default: status = "?"; break; + case DEALLOC: + status = "dealloc"; + break; + case ALLOC: + status = "alloc"; + break; + case NOALLOC: + status = "noalloc"; + break; + default: + status = "?"; + break; }; std::cout << "status=" << status << " " << "alloctype='" << it->second.type << "' " - << "possibleUsage='" << strusage << "' " + << "possibleUsage='" << strusage << "' " << "conditionalAlloc=" << (conditionalAlloc.find(it->first) != conditionalAlloc.end() ? "yes" : "no") << " " << "referenced=" << (referenced.find(it->first) != referenced.end() ? "yes" : "no") << " " << std::endl;