mirror of
https://github.com/intel/llvm.git
synced 2026-01-23 07:58:23 +08:00
This function doesn't need external linkage either.
llvm-svn: 117786
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user