From c7bacc9f26dd0b51f666fd49f0b5f1eae38a0cac Mon Sep 17 00:00:00 2001 From: Austin Date: Mon, 4 Aug 2025 09:27:01 +0800 Subject: [llvm] using wrapper llvm::sort(nfc) (#151000) using wrapper llvm::sort(nfc) --- llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp') diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index 7e0d81f..05680fa 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -610,7 +610,7 @@ public: std::vector ModulePaths; for (auto &[ModPath, _] : Index.modulePaths()) ModulePaths.push_back(ModPath); - llvm::sort(ModulePaths.begin(), ModulePaths.end()); + llvm::sort(ModulePaths); for (auto &ModPath : ModulePaths) Callback(*Index.modulePaths().find(ModPath)); } -- cgit v1.1