OSDN Git Service

[ADT] Speculative attempt to fix build bot issues with r290952.
authorChandler Carruth <chandlerc@gmail.com>
Wed, 4 Jan 2017 11:40:18 +0000 (11:40 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 4 Jan 2017 11:40:18 +0000 (11:40 +0000)
commitda53be3666677533582b618470f34a9b5b8faf39
treed4e6e01b67b0f7898dddbc4f4ac673bc42eebb5d
parent5ab3c960a53c90c6cea6d5ea7d2a3fe97bec9218
[ADT] Speculative attempt to fix build bot issues with r290952.

This just removes the usage of llvm::reverse and llvm::seq. That makes
it harder to handle the empty case correctly and so I've also added
a test there.

This is just a shot in the dark at what might be behind the buildbot
failures. I can't reproduce any issues locally including with ASan...
I feel like I'm missing something...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290954 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/PriorityWorklist.h
unittests/ADT/PriorityWorklistTest.cpp