Change Path::filename_pos() to skip the drive letter.
authorZachary Turner <zturner@google.com>
Wed, 11 Feb 2015 21:16:35 +0000 (21:16 +0000)
committerZachary Turner <zturner@google.com>
Wed, 11 Feb 2015 21:16:35 +0000 (21:16 +0000)
commit3e76643a957a2ff569b19c96a61587b1895edc84
tree61a8c82243e65622d1a9653af37dc8d8c2bbf037
parentd96652237741a9c010712772f1990d5b46d28f63
Change Path::filename_pos() to skip the drive letter.

For Windows, filename_pos() tries to find the filename by
searching for separators after the last :.  Instead, it should
really check for the only location that a : is valid, which is
in the second character, and search for separators after that.

llvm-svn: 228874
llvm/lib/Support/Path.cpp