summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-10-10 10:56:12 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-10-10 10:56:12 +0000
commit186f1c58c5ea62b0149d47b2b7b5b3396589fdb0 (patch)
tree9e63fcf86fe871489dd91ae0385ccae707ed40d7 /lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
parent5d59f20cc0d0b5e44b7e5b173decc77d87ad283d (diff)
downloadbcm5719-llvm-186f1c58c5ea62b0149d47b2b7b5b3396589fdb0.tar.gz
bcm5719-llvm-186f1c58c5ea62b0149d47b2b7b5b3396589fdb0.zip
[lldb][NFC] Use llvm::all_of instead of std::all_of in CppModuleConfiguration
llvm-svn: 374307
Diffstat (limited to 'lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp')
-rw-r--r--lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp b/lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
index 1f9d33e9beb..51ae73285b5 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
+++ b/lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
@@ -63,9 +63,9 @@ bool CppModuleConfiguration::hasValidConfig() {
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()) {
OpenPOWER on IntegriCloud