Micro-optimize.
authorDan Gohman <gohman@apple.com>
Tue, 2 Nov 2010 20:52:47 +0000 (20:52 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 2 Nov 2010 20:52:47 +0000 (20:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118058 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Unix/Path.inc

index 44c81a2f3f92aa1959ab112a5b934b0675991f1b..254d4de803f966705bafd8bf79726741874cbb1a 100644 (file)
@@ -79,7 +79,7 @@ using namespace sys;
 const char sys::PathSeparator = ':';
 
 StringRef Path::GetEXESuffix() {
-  return "";
+  return StringRef();
 }
 
 Path::Path(StringRef p)