diff options
Diffstat (limited to 'lib/CodeGen/CGBlocks.cpp')
-rw-r--r-- | lib/CodeGen/CGBlocks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGBlocks.cpp b/lib/CodeGen/CGBlocks.cpp index 170e4f0c08..dae148cbd1 100644 --- a/lib/CodeGen/CGBlocks.cpp +++ b/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 { |