diff options
author | Paul Robinson <paul_robinson@playstation.sony.com> | 2014-12-06 05:06:37 +0000 |
---|---|---|
committer | Paul Robinson <paul_robinson@playstation.sony.com> | 2014-12-06 05:06:37 +0000 |
commit | 01105887ab72a133815e456020b1571765544bd8 (patch) | |
tree | 1be46b5c66508bb5765ca66411b17ffb0f3c105b /clang/lib/Basic/Version.cpp | |
parent | 223d3f2e4d49c52b0b5516f001d1827c6e55d44b (diff) | |
download | llvm-01105887ab72a133815e456020b1571765544bd8.zip llvm-01105887ab72a133815e456020b1571765544bd8.tar.gz llvm-01105887ab72a133815e456020b1571765544bd8.tar.bz2 |
Rename a couple of preprocessor symbols to be more descriptive. NFC.
Review feedback from recent changes to GetSVN.cmake.
llvm-svn: 223578
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 c2b7753..6bea970 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 SVN_REPOSITORY - StringRef URL(SVN_REPOSITORY); +#ifdef CLANG_REPOSITORY + StringRef URL(CLANG_REPOSITORY); #else StringRef URL(""); #endif - // If the SVN_REPOSITORY is empty, try to use the SVN keyword. This helps us + // If the CLANG_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 SVN_REVISION - return SVN_REVISION; +#ifdef CLANG_REVISION + return CLANG_REVISION; #else return ""; #endif |