diff options
-rw-r--r-- | tools/driver/driver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/driver/driver.cpp b/tools/driver/driver.cpp index c1172817ed..0bd0c60946 100644 --- a/tools/driver/driver.cpp +++ b/tools/driver/driver.cpp @@ -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); |