diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-08 13:13:47 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-08 13:13:47 +0000 |
commit | 80fd2a1972fa1955cdea1bf2a37b47659331870c (patch) | |
tree | f94c153a7708f7151174c87175911baa9252e096 /lib/Support/PathV2.cpp | |
parent | f602040c4900d89bbf55478420769e36604588fb (diff) |
PathV2: Remove static StringRef ctors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/PathV2.cpp')
-rw-r--r-- | lib/Support/PathV2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Support/PathV2.cpp b/lib/Support/PathV2.cpp index 7cc434bde7..f0ce331c78 100644 --- a/lib/Support/PathV2.cpp +++ b/lib/Support/PathV2.cpp @@ -24,11 +24,11 @@ namespace { using llvm::sys::path::is_separator; #ifdef LLVM_ON_WIN32 - const StringRef separators = "\\/"; - const char prefered_separator = '\\'; + const char *separators = "\\/"; + const char prefered_separator = '\\'; #else - const StringRef separators = "/"; - const char prefered_separator = '/'; + const char separators = '/'; + const char prefered_separator = '/'; #endif const llvm::error_code success; |