From 92b0b02e29a7e6e70b18f4004d9f58e4b6914d2b Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Thu, 18 Jun 2015 00:36:40 +0000 Subject: [PATCH] [Driver] Remove unused class member. NFC. llvm-svn: 239981 --- clang/lib/Driver/ToolChains.cpp | 6 ------ clang/lib/Driver/ToolChains.h | 3 --- 2 files changed, 9 deletions(-) diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp index 25a3d8e..314621d 100644 --- a/clang/lib/Driver/ToolChains.cpp +++ b/clang/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/clang/lib/Driver/ToolChains.h b/clang/lib/Driver/ToolChains.h index 74b093f..1141b312 100644 --- a/clang/lib/Driver/ToolChains.h +++ b/clang/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 -- 2.7.4