r327219 added wrappers to std::sort which randomly shuffle the container before
sorting. This will help in uncovering non-determinism caused due to undefined
sorting order of objects having the same key.
To make use of that infrastructure we need to invoke llvm::sort instead of
std::sort.
llvm-svn: 330561
}
// Then we want to sort and unique the modes we've collected.
- std::sort(Modes.begin(), Modes.end());
+ llvm::sort(Modes.begin(), Modes.end());
Modes.erase(std::unique(Modes.begin(), Modes.end()), Modes.end());
}
}