diff options
author | Austin <zhenhangwang@huawei.com> | 2025-08-04 09:27:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-04 09:27:01 +0800 |
commit | c7bacc9f26dd0b51f666fd49f0b5f1eae38a0cac (patch) | |
tree | a594257ceed7d9371a4ae18d2212822d6e8853de /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | d6c2e531518e84d154f1f1dccdf4967dbe26b500 (diff) | |
download | llvm-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/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<StringRef> 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)); } |