Skip to content

Commit 186f1c5

Browse files
committed
[lldb][NFC] Use llvm::all_of instead of std::all_of in CppModuleConfiguration
llvm-svn: 374307
1 parent 5d59f20 commit 186f1c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ bool CppModuleConfiguration::hasValidConfig() {
6363
CppModuleConfiguration::CppModuleConfiguration(
6464
const FileSpecList &support_files) {
6565
// Analyze all files we were given to build the configuration.
66-
bool error = !std::all_of(support_files.begin(), support_files.end(),
67-
std::bind(&CppModuleConfiguration::analyzeFile,
68-
this, std::placeholders::_1));
66+
bool error = !llvm::all_of(support_files,
67+
std::bind(&CppModuleConfiguration::analyzeFile,
68+
this, std::placeholders::_1));
6969
// If we have a valid configuration at this point, set the
7070
// include directories and module list that should be used.
7171
if (!error && hasValidConfig()) {

0 commit comments

Comments
 (0)