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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330561
91177308-0d34-0410-b5e6-
96231b3b80d8
}
// 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());
}
}