diff options
Diffstat (limited to 'clang/lib/CodeGen/CGObjCGNU.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGObjCGNU.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjCGNU.cpp b/clang/lib/CodeGen/CGObjCGNU.cpp index b509187b4ce..cb140bf9e06 100644 --- a/clang/lib/CodeGen/CGObjCGNU.cpp +++ b/clang/lib/CodeGen/CGObjCGNU.cpp @@ -3544,7 +3544,7 @@ llvm::Function *CGObjCGNU::ModuleInitFunction() { std::vector<Selector> allSelectors; for (auto &entry : table) allSelectors.push_back(entry.first); - llvm::sort(allSelectors.begin(), allSelectors.end()); + llvm::sort(allSelectors); for (auto &untypedSel : allSelectors) { std::string selNameStr = untypedSel.getAsString(); |