diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2021-12-08 12:23:57 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2021-12-08 15:14:34 -0800 |
commit | ccf1469a4cdb03cb2bc7868f76164e85d90ebee1 (patch) | |
tree | c023336f704fea456340190f3337823519377818 /llvm/unittests/ADT/StringRefTest.cpp | |
parent | cc8dc5e28be84099ef4802157984a3522c503e02 (diff) | |
download | llvm-ccf1469a4cdb03cb2bc7868f76164e85d90ebee1.zip llvm-ccf1469a4cdb03cb2bc7868f76164e85d90ebee1.tar.gz llvm-ccf1469a4cdb03cb2bc7868f76164e85d90ebee1.tar.bz2 |
[lldb] Make lldbVersion a full fledged library
Because of its dependency on clang (and potentially other compilers
downstream, such as swift) lldb_private::GetVersion already lives in its
own library called lldbBase. Despite that, its implementation was spread
across unrelated files. This patch improves things by introducing a
Version library with its own directory, header and implementation file.
The benefits of this patch include:
- We can get rid of the ugly quoting macros.
- Other parts of LLDB can read the version number from
lldb/Version/Version.inc.
- The implementation can be swapped out for tools like lldb-server than
don't need to depend on clang at all.
Differential revision: https://reviews.llvm.org/D115211
Diffstat (limited to 'llvm/unittests/ADT/StringRefTest.cpp')
0 files changed, 0 insertions, 0 deletions