Don't call 'FilesToRemove[0]' when the vector is empty, even to compute
authorChandler Carruth <chandlerc@gmail.com>
Sat, 16 Jun 2012 00:44:07 +0000 (00:44 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 16 Jun 2012 00:44:07 +0000 (00:44 +0000)
commit29436629dad875cd99cd31cc2f8499f3623effb3
treee37c516efb81d511a3ff716d5a2eeb2289a9413f
parent0b8b3ba21ee7c1a16ac844965dbace820b263bc0
Don't call 'FilesToRemove[0]' when the vector is empty, even to compute
the address of it. Found by a checking STL implementation used on
a dragonegg builder. Sorry about this one. =/

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158582 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Unix/Signals.inc