From: Chandler Carruth Date: Wed, 25 Jan 2012 11:03:35 +0000 (+0000) Subject: Delete still more remnants of the now dead HostInfo. The janitoring will X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0671555f51808b88578bf9c383ef6ba36bb17d5f;p=clang Delete still more remnants of the now dead HostInfo. The janitoring will continue until cleanliness improves. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148951 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Driver.h b/include/clang/Driver/Driver.h index 6228acedc0..7dfb770f6b 100644 --- a/include/clang/Driver/Driver.h +++ b/include/clang/Driver/Driver.h @@ -36,7 +36,6 @@ namespace driver { class Command; class Compilation; class DerivedArgList; - class HostInfo; class InputArgList; class InputInfo; class JobAction; @@ -96,10 +95,6 @@ public: /// Driver title to use with help. std::string DriverTitle; - /// Host information for the platform the driver is running as. This - /// will generally be the actual host platform, but not always. - const HostInfo *Host; - /// Information about the host which can be overridden by the user. std::string HostBits, HostMachine, HostSystem, HostRelease; @@ -387,10 +382,6 @@ public: /// GCC goes to extra lengths here to be a bit more robust. std::string GetTemporaryPath(StringRef Prefix, const char *Suffix) const; - /// GetHostInfo - Construct a new host info object for the given - /// host triple. - const HostInfo *GetHostInfo(const llvm::Triple &Triple) const; - /// ShouldUseClangCompilar - Should the clang compiler be used to /// handle this action. bool ShouldUseClangCompiler(const Compilation &C, const JobAction &JA, diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index 69dba47be2..0f190c772e 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -56,7 +56,6 @@ Driver::Driver(StringRef ClangExecutable, DefaultTargetTriple(DefaultTargetTriple), DefaultImageName(DefaultImageName), DriverTitle("clang \"gcc-compatible\" driver"), - Host(0), CCPrintOptionsFilename(0), CCPrintHeadersFilename(0), CCLogDiagnosticsFilename(0), CCCIsCXX(false), CCCIsCPP(false),CCCEcho(false), CCCPrintBindings(false),