[Refactor][NfC] ReportLevel should be used as a bool not an int

llvm-svn: 219864
This commit is contained in:
Johannes Doerfert 2014-10-15 23:24:28 +00:00
parent aeb9a06ff5
commit a05214fb5d
1 changed files with 1 additions and 1 deletions

View File

@ -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;