[Lldb-commits] [lldb] r374307 - [lldb][NFC] Use llvm::all_of instead of std::all_of in CppModuleConfiguration
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 10 03:56:12 PDT 2019
Author: teemperor
Date: Thu Oct 10 03:56:12 2019
New Revision: 374307
URL: http://llvm.org/viewvc/llvm-project?rev=374307&view=rev
Log:
[lldb][NFC] Use llvm::all_of instead of std::all_of in CppModuleConfiguration
Modified:
lldb/trunk/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp?rev=374307&r1=374306&r2=374307&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp (original)
+++ lldb/trunk/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp Thu Oct 10 03:56:12 2019
@@ -63,9 +63,9 @@ bool CppModuleConfiguration::hasValidCon
CppModuleConfiguration::CppModuleConfiguration(
const FileSpecList &support_files) {
// Analyze all files we were given to build the configuration.
- bool error = !std::all_of(support_files.begin(), support_files.end(),
- std::bind(&CppModuleConfiguration::analyzeFile,
- this, std::placeholders::_1));
+ bool error = !llvm::all_of(support_files,
+ std::bind(&CppModuleConfiguration::analyzeFile,
+ this, std::placeholders::_1));
// If we have a valid configuration at this point, set the
// include directories and module list that should be used.
if (!error && hasValidConfig()) {
More information about the lldb-commits
mailing list