diff options
author | Kazu Hirata <kazu@google.com> | 2021-01-19 20:19:15 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2021-01-19 20:19:16 -0800 |
commit | 978c754076e37c7b392240dd121b5b6cb8d1bde2 (patch) | |
tree | 25a118648cd310aab0bcaa8756a58530e817b703 /llvm/lib/Support/CommandLine.cpp | |
parent | 885720248921324d28b983248dcc4056fd994a0f (diff) | |
download | llvm-978c754076e37c7b392240dd121b5b6cb8d1bde2.zip llvm-978c754076e37c7b392240dd121b5b6cb8d1bde2.tar.gz llvm-978c754076e37c7b392240dd121b5b6cb8d1bde2.tar.bz2 |
[llvm] Use llvm::any_of (NFC)
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r-- | llvm/lib/Support/CommandLine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index c8578f9..6d89481 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/lib/Support/CommandLine.cpp @@ -1204,7 +1204,7 @@ bool cl::ExpandResponseFiles(StringSaver &Saver, TokenizerCallback Tokenizer, }; // Check for recursive response files. - if (std::any_of(FileStack.begin() + 1, FileStack.end(), IsEquivalent)) { + if (any_of(drop_begin(FileStack), IsEquivalent)) { // This file is recursive, so we leave it in the argument stream and // move on. AllExpanded = false; |