Author: d0k
Date: Sat Oct 30 09:28:41 2010
New Revision: 117786

URL: http://llvm.org/viewvc/llvm-project?rev=117786&view=rev
Log:
This function doesn't need external linkage either.

Modified:
    cfe/trunk/tools/driver/driver.cpp

Modified: cfe/trunk/tools/driver/driver.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/driver.cpp?rev=117786&r1=117785&r2=117786&view=diff
==============================================================================
--- cfe/trunk/tools/driver/driver.cpp (original)
+++ cfe/trunk/tools/driver/driver.cpp Sat Oct 30 09:28:41 2010
@@ -36,7 +36,8 @@
 using namespace clang;
 using namespace clang::driver;
 
-llvm::sys::Path GetExecutablePath(const char *Argv0, bool CanonicalPrefixes) {
+static llvm::sys::Path GetExecutablePath(const char *Argv0,
+                                         bool CanonicalPrefixes) {
   if (!CanonicalPrefixes)
     return llvm::sys::Path(Argv0);
 


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to