summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.cpp')
-rw-r--r--clang/lib/CodeGen/CGBlocks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.cpp b/clang/lib/CodeGen/CGBlocks.cpp
index 170e4f0c083..dae148cbd1e 100644
--- a/clang/lib/CodeGen/CGBlocks.cpp
+++ b/clang/lib/CodeGen/CGBlocks.cpp
@@ -1729,7 +1729,7 @@ static void findBlockCapturedManagedEntities(
}
// Sort the captures by offset.
- llvm::sort(ManagedCaptures.begin(), ManagedCaptures.end());
+ llvm::sort(ManagedCaptures);
}
namespace {
OpenPOWER on IntegriCloud