commit | a05214fb5d50a68c52a01333e74cd5e551f02b85 | [log] [tgz] |
---|---|---|
author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | Wed Oct 15 23:24:28 2014 +0000 |
committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | Wed Oct 15 23:24:28 2014 +0000 |
tree | ebb3eedd69610c097fce5c11ef2138516a5de19e | |
parent | aeb9a06ff50fde033d442e7757cab1bb36e3b684 [diff] [blame] |
[Refactor][NfC] ReportLevel should be used as a bool not an int llvm-svn: 219864
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index 8b1c68c..de74f82 100644 --- a/polly/lib/Analysis/ScopDetection.cpp +++ b/polly/lib/Analysis/ScopDetection.cpp
@@ -934,7 +934,7 @@ for (const Region *R : ValidRegions) emitValidRemarks(F, R); - if (ReportLevel >= 1) + if (ReportLevel) printLocations(F); return false;