Files
llvm/set-revision.patch
Ismail Dönmez ca247229cf - Update to version 3.6.1
* No changelog upstream

- Update to version 3.6.1
  * No changelog upstream

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=414
2015-05-25 14:45:49 +00:00

25 lines
528 B
Diff

Index: cfe-3.6.1.src/lib/Basic/Version.cpp
===================================================================
--- cfe-3.6.1.src/lib/Basic/Version.cpp
+++ cfe-3.6.1.src/lib/Basic/Version.cpp
@@ -66,19 +66,11 @@ std::string getLLVMRepositoryPath() {
}
std::string getClangRevision() {
-#ifdef SVN_REVISION
return SVN_REVISION;
-#else
- return "";
-#endif
}
std::string getLLVMRevision() {
-#ifdef LLVM_REVISION
return LLVM_REVISION;
-#else
- return "";
-#endif
}
std::string getClangFullRepositoryVersion() {