We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
std::sort
llvm::sort
1 parent 1d763f3 commit 3a0d0c6Copy full SHA for 3a0d0c6
llvm/include/llvm/IR/ModuleSummaryIndexYAML.h
@@ -349,11 +349,11 @@ template <> struct MappingTraits<ModuleSummaryIndex> {
349
if (io.outputting()) {
350
std::vector<StringRef> CfiFunctionDefs(index.CfiFunctionDefs.begin(),
351
index.CfiFunctionDefs.end());
352
- std::sort(CfiFunctionDefs.begin(), CfiFunctionDefs.end());
+ llvm::sort(CfiFunctionDefs);
353
io.mapOptional("CfiFunctionDefs", CfiFunctionDefs);
354
std::vector<StringRef> CfiFunctionDecls(index.CfiFunctionDecls.begin(),
355
index.CfiFunctionDecls.end());
356
- std::sort(CfiFunctionDecls.begin(), CfiFunctionDecls.end());
+ llvm::sort(CfiFunctionDecls);
357
io.mapOptional("CfiFunctionDecls", CfiFunctionDecls);
358
} else {
359
std::vector<std::string> CfiFunctionDefs;
0 commit comments