diff options
| author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2014-10-15 23:24:28 +0000 |
|---|---|---|
| committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2014-10-15 23:24:28 +0000 |
| commit | a05214fb5d50a68c52a01333e74cd5e551f02b85 (patch) | |
| tree | ebb3eedd69610c097fce5c11ef2138516a5de19e | |
| parent | aeb9a06ff50fde033d442e7757cab1bb36e3b684 (diff) | |
| download | bcm5719-llvm-a05214fb5d50a68c52a01333e74cd5e551f02b85.tar.gz bcm5719-llvm-a05214fb5d50a68c52a01333e74cd5e551f02b85.zip | |
[Refactor][NfC] ReportLevel should be used as a bool not an int
llvm-svn: 219864
| -rw-r--r-- | polly/lib/Analysis/ScopDetection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index 8b1c68c96f6..de74f82cb8b 100644 --- a/polly/lib/Analysis/ScopDetection.cpp +++ b/polly/lib/Analysis/ScopDetection.cpp @@ -934,7 +934,7 @@ bool ScopDetection::runOnFunction(llvm::Function &F) { for (const Region *R : ValidRegions) emitValidRemarks(F, R); - if (ReportLevel >= 1) + if (ReportLevel) printLocations(F); return false; |

