Remove HAVE_VCS_VERSION_INC, not needed
This preprocessor define was meant to be used to conditionally include VCSVersion.inc. However, the define was always set, and it was the content of the header that was conditionally generated. Therefore HAVE_VCS_VERSION_INC should be cleaned up.
Reviewed By: gribozavr2, MaskRay
Differential Revision: https://reviews.llvm.org/D84623
GitOrigin-RevId: 9bb9b737c5573cf3850230bc4db8dac7be0e1e85
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index 6dbdec5..56ea834 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -26,9 +26,6 @@
PROPERTIES GENERATED TRUE
HEADER_FILE_ONLY TRUE)
-set_property(SOURCE lldb.cpp APPEND PROPERTY
- COMPILE_DEFINITIONS "HAVE_VCS_VERSION_INC")
-
list(APPEND lldbBase_SOURCES ${version_inc})
if(LLDB_VERSION_STRING)
diff --git a/source/lldb.cpp b/source/lldb.cpp
index 4d4c636..10fc2d7 100644
--- a/source/lldb.cpp
+++ b/source/lldb.cpp
@@ -13,9 +13,7 @@
#include "clang/Basic/Version.h"
-#ifdef HAVE_VCS_VERSION_INC
#include "VCSVersion.inc"
-#endif
static const char *GetLLDBRevision() {
#ifdef LLDB_REVISION