summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitcb520cd8cb3cda5fda63dc1d155b58411170be08 (patch)
tree8e2fe569c5e046fe127dbcba80a40aaef4498c3c /llvm/lib/Support/PathV2.cpp
parent06ab8b648c17a8dadb33be3dd628c93b3a895dde (diff)
downloadbcm5719-llvm-cb520cd8cb3cda5fda63dc1d155b58411170be08.tar.gz
bcm5719-llvm-cb520cd8cb3cda5fda63dc1d155b58411170be08.zip
Missed some StringRefRefs.
llvm-svn: 122077
Diffstat (limited to 'llvm/lib/Support/PathV2.cpp')
-rw-r--r--llvm/lib/Support/PathV2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/PathV2.cpp b/llvm/lib/Support/PathV2.cpp
index 2a4c4588a35..6e248771ef5 100644
--- a/llvm/lib/Support/PathV2.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud