aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/PathV2.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-12-17 18:59:09 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-12-17 18:59:09 +0000
commit7fb866643e76dc598473b666439a42a11d97a58c (patch)
tree40ad1032f2f9aa834ac8f6fa2baa633b7adbd221 /lib/Support/PathV2.cpp
parentf0db261e97f9c199e584b2a73095a7e36f4eb3cc (diff)
Missed some StringRefRefs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122077 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/PathV2.cpp')
-rw-r--r--lib/Support/PathV2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/PathV2.cpp b/lib/Support/PathV2.cpp
index 2a4c4588a3..6e248771ef 100644
--- a/lib/Support/PathV2.cpp
+++ b/lib/Support/PathV2.cpp
@@ -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.