Skip to content

Commit f523a55

Browse files
[Sema] Use llvm::all_of (NFC)
1 parent 1ce5a80 commit f523a55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/Sema.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2758,7 +2758,7 @@ bool Sema::isDeclaratorFunctionLike(Declarator &D) {
27582758
return false;
27592759

27602760
LookupQualifiedName(LR, DC);
2761-
bool Result = std::all_of(LR.begin(), LR.end(), [](Decl *Dcl) {
2761+
bool Result = llvm::all_of(LR, [](Decl *Dcl) {
27622762
if (NamedDecl *ND = dyn_cast<NamedDecl>(Dcl)) {
27632763
ND = ND->getUnderlyingDecl();
27642764
return isa<FunctionDecl>(ND) || isa<FunctionTemplateDecl>(ND) ||

0 commit comments

Comments
 (0)