[llvm-commits] [llvm] r118058 - /llvm/trunk/lib/System/Unix/Path.inc
Dan Gohman
gohman at apple.com
Tue Nov 2 13:52:47 PDT 2010
Author: djg
Date: Tue Nov 2 15:52:47 2010
New Revision: 118058
URL: http://llvm.org/viewvc/llvm-project?rev=118058&view=rev
Log:
Micro-optimize.
Modified:
llvm/trunk/lib/System/Unix/Path.inc
Modified: llvm/trunk/lib/System/Unix/Path.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Unix/Path.inc?rev=118058&r1=118057&r2=118058&view=diff
==============================================================================
--- llvm/trunk/lib/System/Unix/Path.inc (original)
+++ llvm/trunk/lib/System/Unix/Path.inc Tue Nov 2 15:52:47 2010
@@ -79,7 +79,7 @@
const char sys::PathSeparator = ':';
StringRef Path::GetEXESuffix() {
- return "";
+ return StringRef();
}
Path::Path(StringRef p)
More information about the llvm-commits
mailing list