Skip to content

Commit 0d6ff05

Browse files
author
git apple-llvm automerger
committed
Merge commit '73e8ada540ac' from llvm.org/main into next
2 parents 1f3d6e9 + 73e8ada commit 0d6ff05

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/Sema/AnalysisBasedWarnings.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,8 +524,7 @@ static bool areAllValuesNoReturn(const VarDecl *VD, const CFGBlock &VarBlk,
524524
}
525525

526526
// If all checked blocks satisfy the condition, the check is finished.
527-
if (std::all_of(BlocksToCheck.begin(), BlocksToCheck.end(),
528-
BlockSatisfiesCondition))
527+
if (llvm::all_of(BlocksToCheck, BlockSatisfiesCondition))
529528
return true;
530529

531530
// If this block does not contain the variable definition, check

0 commit comments

Comments
 (0)