From 378a9f2b915fbecb290cf816d6113e1a4eaa6f71 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Sat, 16 Nov 2013 19:34:11 +0000 Subject: [PATCH] ScopDetection: Improve formatting llvm-svn: 194931 --- polly/lib/Analysis/ScopDetection.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index f0cae5014ea3..484c231be21e 100644 --- a/polly/lib/Analysis/ScopDetection.cpp +++ b/polly/lib/Analysis/ScopDetection.cpp @@ -468,9 +468,12 @@ Region *ScopDetection::expandRegion(Region &R) { } } - DEBUG(if (LastValidRegion) dbgs() << "\tto " << LastValidRegion->getNameStr() - << "\n"; - else dbgs() << "\tExpanding " << R.getNameStr() << " failed\n";); + DEBUG({ + if (LastValidRegion) + dbgs() << "\tto " << LastValidRegion->getNameStr() << "\n"; + else + dbgs() << "\tExpanding " << R.getNameStr() << " failed\n"; + }); return LastValidRegion; }