diff options
author | Fangrui Song <maskray@google.com> | 2018-10-20 17:53:42 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2018-10-20 17:53:42 +0000 |
commit | 117cd8c7825bb58b8ce0cdebfe15b5f54884422d (patch) | |
tree | 663bc549a4b7afea24b0619f9945bd30c2d4aa7b /lib/Sema/SemaLookup.cpp | |
parent | c6c6ebef73405d5a9b3dc212ea78a7b7ce2ca133 (diff) |
Use llvm::{all,any,none}_of instead std::{all,any,none}_of. NFC
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@344859 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaLookup.cpp')
-rw-r--r-- | lib/Sema/SemaLookup.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Sema/SemaLookup.cpp b/lib/Sema/SemaLookup.cpp index 8cb0fb4cb8..e359d59d89 100644 --- a/lib/Sema/SemaLookup.cpp +++ b/lib/Sema/SemaLookup.cpp @@ -1600,9 +1600,9 @@ bool Sema::isModuleVisible(const Module *M, bool ModulePrivate) { return false; // Check whether M is transitively exported to an import of the lookup set. - return std::any_of(LookupModules.begin(), LookupModules.end(), - [&](const Module *LookupM) { - return LookupM->isModuleVisible(M); }); + return llvm::any_of(LookupModules, [&](const Module *LookupM) { + return LookupM->isModuleVisible(M); + }); } bool Sema::isVisibleSlow(const NamedDecl *D) { |