aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/AsmWriter.cpp
diff options
context:
space:
mode:
authorAustin <zhenhangwang@huawei.com>2025-08-04 09:27:01 +0800
committerGitHub <noreply@github.com>2025-08-04 09:27:01 +0800
commitc7bacc9f26dd0b51f666fd49f0b5f1eae38a0cac (patch)
treea594257ceed7d9371a4ae18d2212822d6e8853de /llvm/lib/IR/AsmWriter.cpp
parentd6c2e531518e84d154f1f1dccdf4967dbe26b500 (diff)
downloadllvm-c7bacc9f26dd0b51f666fd49f0b5f1eae38a0cac.zip
llvm-c7bacc9f26dd0b51f666fd49f0b5f1eae38a0cac.tar.gz
llvm-c7bacc9f26dd0b51f666fd49f0b5f1eae38a0cac.tar.bz2
[llvm] using wrapper llvm::sort(nfc) (#151000)
using wrapper llvm::sort(nfc)
Diffstat (limited to 'llvm/lib/IR/AsmWriter.cpp')
-rw-r--r--llvm/lib/IR/AsmWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/AsmWriter.cpp b/llvm/lib/IR/AsmWriter.cpp
index e5a4e1e..dc6d599 100644
--- a/llvm/lib/IR/AsmWriter.cpp
+++ b/llvm/lib/IR/AsmWriter.cpp
@@ -1163,7 +1163,7 @@ int SlotTracker::processIndex() {
std::vector<StringRef> ModulePaths;
for (auto &[ModPath, _] : TheIndex->modulePaths())
ModulePaths.push_back(ModPath);
- llvm::sort(ModulePaths.begin(), ModulePaths.end());
+ llvm::sort(ModulePaths);
for (auto &ModPath : ModulePaths)
CreateModulePathSlot(ModPath);