Missed some StringRefRefs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122077 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer
2010-12-17 18:59:09 +00:00
parent f0db261e97
commit 7fb866643e
2 changed files with 3 additions and 5 deletions

View File

@ -39,7 +39,7 @@ namespace {
const llvm::error_code success;
StringRef find_first_component(const StringRef &path) {
StringRef find_first_component(StringRef path) {
// Look for this first component in the following order.
// * empty (in this case we return an empty string)
// * either C: or {//,\\}net.