forked from OSchip/llvm-project
Use early return in printing logic. Minor cleanup.
llvm-svn: 178264
This commit is contained in:
parent
0dd8feee93
commit
db70b5295e
|
@ -3661,8 +3661,10 @@ void RetainCountChecker::printState(raw_ostream &Out, ProgramStateRef State,
|
|||
|
||||
RefBindingsTy B = State->get<RefBindings>();
|
||||
|
||||
if (!B.isEmpty())
|
||||
Out << Sep << NL;
|
||||
if (B.isEmpty())
|
||||
return;
|
||||
|
||||
Out << Sep << NL;
|
||||
|
||||
for (RefBindingsTy::iterator I = B.begin(), E = B.end(); I != E; ++I) {
|
||||
Out << I->first << " : ";
|
||||
|
|
Loading…
Reference in New Issue