diff options
author | Chris Bieneman <beanz@apple.com> | 2016-09-23 23:33:52 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-09-23 23:33:52 +0000 |
commit | aa098de7158b2fc942822ba5ad90952a9a4238a9 (patch) | |
tree | 0da7cec404716155c35f4758db675e2e6222f577 /clang-tools-extra/clang-tidy/misc/StringIntegerAssignmentCheck.cpp | |
parent | a638fe057c1f4d59c168cd62bab4a6e7d6fa2fc6 (diff) | |
download | bcm5719-llvm-aa098de7158b2fc942822ba5ad90952a9a4238a9.tar.gz bcm5719-llvm-aa098de7158b2fc942822ba5ad90952a9a4238a9.zip |
[CMake] Generate LLDB_REVISION at build time
Summary:
This alters the generation of LLDB_REVISION to be heavily based on how clang generates its version header. There are two benefits of this aproach.
(1) The LLDB_REVISION is generated at build time, so it will be updated after an SCM pull/update even if CMake doesn't re-run
(2) This works on Windows
As noted this code is a simplified implementation of the code from clang.
Reviewers: tfiala, zturner
Subscribers: beanz, mgorny, lldb-commits
Differential Revision: https://reviews.llvm.org/D24846
llvm-svn: 282314
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/StringIntegerAssignmentCheck.cpp')
0 files changed, 0 insertions, 0 deletions