Cleanup in unique_file when we only want the name.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 25 Jun 2013 00:49:40 +0000 (00:49 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 25 Jun 2013 00:49:40 +0000 (00:49 +0000)
commit7c4d2da8e802a70069ffd75215ebdbfbc8cdaf0d
tree58c449d300309169e8f19cee3a0bd19eefa214a9
parent96dbf6f08220579094d5e9b68d9574475a223ee5
Cleanup in unique_file when we only want the name.

This is really ugly, but it is no worse than what we have in clang right now and
it is better to get it working first and clean/optimize it afterwards.

Will be tested from clang in the next patch.

llvm-svn: 184802
llvm/lib/Support/PathV2.cpp