Correcting the ArrayRef test to not cause use-after-free bugs with initializer lists...
authorAaron Ballman <aaron@aaronballman.com>
Tue, 17 Feb 2015 17:44:07 +0000 (17:44 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 17 Feb 2015 17:44:07 +0000 (17:44 +0000)
commitc4326a1ae45658725e43909b74dc25104994cbb5
treeb0afc5f4683b6184556f8df66074c311f8ac7c5c
parent4e29d0712ce1b3ed1f9ad2dae3af87589540d6f8
Correcting the ArrayRef test to not cause use-after-free bugs with initializer lists. Should also silence a -Wsign-compare warning accidentally introduced.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229515 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/ADT/ArrayRefTest.cpp