From: Alexey Samsonov Date: Thu, 18 Jun 2015 00:36:40 +0000 (+0000) Subject: [Driver] Remove unused class member. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=598d1a9f780ca7e278144c839216929cd5d86197;p=clang [Driver] Remove unused class member. NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239981 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index 25a3d8e475..314621d4af 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -60,12 +60,6 @@ Darwin::Darwin(const Driver & D, const llvm::Triple & Triple, llvm::raw_string_ostream(MacosxVersionMin) << Major << '.' << Minor << '.' << Micro; - // FIXME: DarwinVersion is only used to find GCC's libexec directory. - // It should be removed when we stop supporting that. - DarwinVersion[0] = Minor + 4; - DarwinVersion[1] = Micro; - DarwinVersion[2] = 0; - // Compute the initial iOS version from the triple Triple.getiOSVersion(Major, Minor, Micro); llvm::raw_string_ostream(iOSVersionMin) diff --git a/lib/Driver/ToolChains.h b/lib/Driver/ToolChains.h index 74b093f267..1141b312c4 100644 --- a/lib/Driver/ToolChains.h +++ b/lib/Driver/ToolChains.h @@ -316,9 +316,6 @@ public: /// Darwin - The base Darwin tool chain. class LLVM_LIBRARY_VISIBILITY Darwin : public MachO { public: - /// The host version. - unsigned DarwinVersion[3]; - /// Whether the information on the target has been initialized. // // FIXME: This should be eliminated. What we want to do is make this part of