diff options
Diffstat (limited to 'llvm/lib/IR/AsmWriter.cpp')
-rw-r--r-- | llvm/lib/IR/AsmWriter.cpp | 2 |
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); |