[Driver] Remove unused class member. NFC.
authorAlexey Samsonov <vonosmas@gmail.com>
Thu, 18 Jun 2015 00:36:40 +0000 (00:36 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Thu, 18 Jun 2015 00:36:40 +0000 (00:36 +0000)
llvm-svn: 239981

clang/lib/Driver/ToolChains.cpp
clang/lib/Driver/ToolChains.h

index 25a3d8e..314621d 100644 (file)
@@ -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)
index 74b093f..1141b31 100644 (file)
@@ -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