diff options
author | Mandeep Singh Grang <mgrang@codeaurora.org> | 2018-04-05 21:52:24 +0000 |
---|---|---|
committer | Mandeep Singh Grang <mgrang@codeaurora.org> | 2018-04-05 21:52:24 +0000 |
commit | f3555650bd5219bf30cab707ff2e1d6da5628cd3 (patch) | |
tree | e3639d29518621a22ca4cb556a2f1d9f67804775 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c9c3a004ae06cbbf4a8bd9724ccf0a6272e83ac6 (diff) | |
download | bcm5719-llvm-f3555650bd5219bf30cab707ff2e1d6da5628cd3.tar.gz bcm5719-llvm-f3555650bd5219bf30cab707ff2e1d6da5628cd3.zip |
[IR] Change std::sort to llvm::sort in response to r327219
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.
Note: This patch is one of a series of patches to replace *all* std::sort to
llvm::sort. Refer D44363 for a list of all the required patches.
llvm-svn: 329353
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions