r317231 - revert r317228: remove unused function from ObjCRuntime.h, NFC
Alex Lorenz via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 2 12:42:40 PDT 2017
Author: arphaman
Date: Thu Nov 2 12:42:40 2017
New Revision: 317231
URL: http://llvm.org/viewvc/llvm-project?rev=317231&view=rev
Log:
revert r317228: remove unused function from ObjCRuntime.h, NFC
This function is actually used in LLDB
Modified:
cfe/trunk/include/clang/Basic/ObjCRuntime.h
Modified: cfe/trunk/include/clang/Basic/ObjCRuntime.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/ObjCRuntime.h?rev=317231&r1=317230&r2=317231&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/ObjCRuntime.h (original)
+++ cfe/trunk/include/clang/Basic/ObjCRuntime.h Thu Nov 2 12:42:40 2017
@@ -67,6 +67,11 @@ public:
ObjCRuntime(Kind kind, const VersionTuple &version)
: TheKind(kind), Version(version) {}
+ void set(Kind kind, VersionTuple version) {
+ TheKind = kind;
+ Version = version;
+ }
+
Kind getKind() const { return TheKind; }
const VersionTuple &getVersion() const { return Version; }
More information about the cfe-commits
mailing list