[llvm-commits] [llvm] r150071 - /llvm/trunk/lib/Support/PathV2.cpp

Benjamin Kramer benny.kra at googlemail.com
Wed Feb 8 05:13:47 PST 2012


Author: d0k
Date: Wed Feb  8 07:13:47 2012
New Revision: 150071

URL: http://llvm.org/viewvc/llvm-project?rev=150071&view=rev
Log:
PathV2: Remove static StringRef ctors.

Modified:
    llvm/trunk/lib/Support/PathV2.cpp

Modified: llvm/trunk/lib/Support/PathV2.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/PathV2.cpp?rev=150071&r1=150070&r2=150071&view=diff
==============================================================================
--- llvm/trunk/lib/Support/PathV2.cpp (original)
+++ llvm/trunk/lib/Support/PathV2.cpp Wed Feb  8 07:13:47 2012
@@ -24,11 +24,11 @@
   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;





More information about the llvm-commits mailing list