forked from OSchip/llvm-project
[Refactor][NfC] ReportLevel should be used as a bool not an int
llvm-svn: 219864
This commit is contained in:
parent
aeb9a06ff5
commit
a05214fb5d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue