From: Benjamin Kramer Date: Fri, 9 Aug 2013 17:51:03 +0000 (+0000) Subject: Remove "static" on simple temporary StringRef. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82ccd75a0358d6f5d5ed43e34ef7590eb6edf37c;p=clang Remove "static" on simple temporary StringRef. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188088 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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"));