From 82ccd75a0358d6f5d5ed43e34ef7590eb6edf37c Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 9 Aug 2013 17:51:03 +0000 Subject: [PATCH] Remove "static" on simple temporary StringRef. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188088 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Basic/Version.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Basic/Version.cpp b/lib/Basic/Version.cpp index e219a3def7..88b827de29 100644 --- a/lib/Basic/Version.cpp +++ b/lib/Basic/Version.cpp @@ -36,7 +36,7 @@ std::string getClangRepositoryPath() { // If the SVN_REPOSITORY is empty, try to use the SVN keyword. This helps us // pick up a tag in an SVN export, for example. - static StringRef SVNRepository("$URL$"); + StringRef SVNRepository("$URL$"); if (URL.empty()) { URL = SVNRepository.slice(SVNRepository.find(':'), SVNRepository.find("/lib/Basic")); -- 2.50.1