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)
commitb357516cb42b29047ca3eb89a8a59ab6924f6587
tree8256b0e275de74276cd6ec9cf9dd67eaab023845
parentf97b99e41cc67a545a14d06fba59bff6f5741d07
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.

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