[PATCH] D47887: Move VersionTuple from clang/Basic to llvm/Support, llvm part
Pavel Labath via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 7 08:29:30 PDT 2018
labath created this revision.
labath added reviewers: zturner, erik.pilkington.
Herald added a subscriber: mgorny.
This kind of functionality is useful to other project apart from clang.
LLDB works with version numbers a lot, but it does not have a convenient
abstraction for this. Moving this class to a lower level library allows
it to be freely used within LLDB.
The code is an identical copy of the version from clang (apart from
namespace change and re-clang-formatting).
I didn't find any tests specific for this class, so I wrote a couple of
quick ones for the more interesting bits of functionality.
Repository:
rL LLVM
https://reviews.llvm.org/D47887
Files:
include/llvm/Support/VersionTuple.h
lib/Support/CMakeLists.txt
lib/Support/VersionTuple.cpp
unittests/Support/CMakeLists.txt
unittests/Support/VersionTupleTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47887.150339.patch
Type: text/x-patch
Size: 10757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180607/1938caf4/attachment-0001.bin>
More information about the llvm-commits
mailing list