aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Version.cpp
diff options
context:
space:
mode:
authorMarcel Hlopko <hlopko@google.com>2020-10-29 13:01:28 -0700
committerFangrui Song <i@maskray.me>2020-10-29 13:09:05 -0700
commit9bb9b737c5573cf3850230bc4db8dac7be0e1e85 (patch)
tree401c608becc7ff1f88874f966588c8b4fff337d5 /clang/lib/Basic/Version.cpp
parent91bf17208833ff10e4d3a7e785c9b54ed14b6df2 (diff)
downloadllvm-9bb9b737c5573cf3850230bc4db8dac7be0e1e85.zip
llvm-9bb9b737c5573cf3850230bc4db8dac7be0e1e85.tar.gz
llvm-9bb9b737c5573cf3850230bc4db8dac7be0e1e85.tar.bz2
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
Diffstat (limited to 'clang/lib/Basic/Version.cpp')
-rw-r--r--clang/lib/Basic/Version.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Basic/Version.cpp b/clang/lib/Basic/Version.cpp
index 286107c..af3118b 100644
--- a/clang/lib/Basic/Version.cpp
+++ b/clang/lib/Basic/Version.cpp
@@ -17,9 +17,7 @@
#include <cstdlib>
#include <cstring>
-#ifdef HAVE_VCS_VERSION_INC
#include "VCSVersion.inc"
-#endif
namespace clang {