[PATCH] D47886: Move VersionTuple from clang/Basic to llvm/Support, clang part
Pavel Labath via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 7 08:29:17 PDT 2018
labath created this revision.
labath added reviewers: erik.pilkington, zturner.
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.
Since this class is used in a lot of places, and it used to be in the
clang namespace, it seemed appropriate to add it to the list of adopted
classes in LLVM.h to avoid prefixing all uses with "llvm::".
Repository:
rC Clang
https://reviews.llvm.org/D47886
Files:
include/clang/AST/Attr.h
include/clang/AST/Availability.h
include/clang/AST/DeclBase.h
include/clang/AST/ExprObjC.h
include/clang/Basic/AlignedAllocation.h
include/clang/Basic/LLVM.h
include/clang/Basic/ObjCRuntime.h
include/clang/Basic/TargetInfo.h
include/clang/Basic/VersionTuple.h
include/clang/Driver/ToolChain.h
include/clang/Parse/Parser.h
include/clang/Sema/AttributeList.h
include/clang/Serialization/ASTReader.h
include/clang/Serialization/ASTWriter.h
lib/AST/DeclBase.cpp
lib/Basic/CMakeLists.txt
lib/Basic/ObjCRuntime.cpp
lib/Basic/VersionTuple.cpp
lib/Driver/ToolChain.cpp
lib/Driver/ToolChains/Cuda.h
lib/Frontend/CompilerInvocation.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47886.150338.patch
Type: text/x-patch
Size: 21776 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180607/163cd517/attachment-0001.bin>
More information about the cfe-commits
mailing list