]> granicus.if.org Git - clang/commitdiff
Remove "static" on simple temporary StringRef.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 9 Aug 2013 17:51:03 +0000 (17:51 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 9 Aug 2013 17:51:03 +0000 (17:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188088 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Version.cpp

index e219a3def71deaf081ffc0dc82bcc549ddb62c59..88b827de297ae564038f7d8727ee05d874cf6d3f 100644 (file)
@@ -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"));