Fixes a bug when iterating on paths
authorTareq A. Siraj <tareq.a.siraj@intel.com>
Mon, 12 Aug 2013 17:10:49 +0000 (17:10 +0000)
committerTareq A. Siraj <tareq.a.siraj@intel.com>
Mon, 12 Aug 2013 17:10:49 +0000 (17:10 +0000)
commit225396c2b52a50fa8a781e9a7b5cc81dceae010a
treea9ee7f5a6b90dff78abb3d1bb730953a169f63b9
parent809313970fc98bba6f36a332adfa3e5fef4110b3
Fixes a bug when iterating on paths

This fixes the incorrect implementation of iterating on file/directory
paths.

Differential Review: http://llvm-reviews.chandlerc.com/D1277

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188183 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Path.cpp
unittests/Support/Path.cpp