diff options
author | Paul Robinson <paul_robinson@playstation.sony.com> | 2014-12-10 23:49:03 +0000 |
---|---|---|
committer | Paul Robinson <paul_robinson@playstation.sony.com> | 2014-12-10 23:49:03 +0000 |
commit | af6b86ca98695c166a1044be9434bba9615d0d7f (patch) | |
tree | 12d3ed19ba973b6a7b4af7ffcbb9fbf58bec5975 /clang/lib/Basic/Version.cpp | |
parent | 2ac7e4b3ee461335cc6c13a85c89b9eaf7f4e1af (diff) | |
download | bcm5719-llvm-af6b86ca98695c166a1044be9434bba9615d0d7f.tar.gz bcm5719-llvm-af6b86ca98695c166a1044be9434bba9615d0d7f.zip |
Revert r223578, perf data collection depends on the old symbol name.
llvm-svn: 223987
Diffstat (limited to 'clang/lib/Basic/Version.cpp')
-rw-r--r-- | clang/lib/Basic/Version.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/Basic/Version.cpp b/clang/lib/Basic/Version.cpp index 6bea9705f82..c2b7753d412 100644 --- a/clang/lib/Basic/Version.cpp +++ b/clang/lib/Basic/Version.cpp @@ -28,13 +28,13 @@ std::string getClangRepositoryPath() { #if defined(CLANG_REPOSITORY_STRING) return CLANG_REPOSITORY_STRING; #else -#ifdef CLANG_REPOSITORY - StringRef URL(CLANG_REPOSITORY); +#ifdef SVN_REPOSITORY + StringRef URL(SVN_REPOSITORY); #else StringRef URL(""); #endif - // If the CLANG_REPOSITORY is empty, try to use the SVN keyword. This helps us + // 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. StringRef SVNRepository("$URL$"); if (URL.empty()) { @@ -72,8 +72,8 @@ std::string getLLVMRepositoryPath() { } std::string getClangRevision() { -#ifdef CLANG_REVISION - return CLANG_REVISION; +#ifdef SVN_REVISION + return SVN_REVISION; #else return ""; #endif |