diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-11-19 00:45:33 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-11-19 00:45:33 +0000 |
commit | 5e59a8b9868595a7bf43d70110be7dbddc339338 (patch) | |
tree | 08868e49b4a53d850b770ff1ab52e34ae952397e /lib/Driver/ToolChains | |
parent | 885ad8eb3a6c8b185fea798a0ea706604c4e6484 (diff) |
Driver: remove `SupportsObjCGC` (NFC)
This option is not used in the frontend. Remove the method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@318609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains')
-rw-r--r-- | lib/Driver/ToolChains/BareMetal.h | 1 | ||||
-rw-r--r-- | lib/Driver/ToolChains/Cuda.h | 1 | ||||
-rw-r--r-- | lib/Driver/ToolChains/Darwin.cpp | 2 | ||||
-rw-r--r-- | lib/Driver/ToolChains/Darwin.h | 4 | ||||
-rw-r--r-- | lib/Driver/ToolChains/WebAssembly.cpp | 3 | ||||
-rw-r--r-- | lib/Driver/ToolChains/WebAssembly.h | 1 |
6 files changed, 0 insertions, 12 deletions
diff --git a/lib/Driver/ToolChains/BareMetal.h b/lib/Driver/ToolChains/BareMetal.h index 5e9fd9bffd..0bed63332c 100644 --- a/lib/Driver/ToolChains/BareMetal.h +++ b/lib/Driver/ToolChains/BareMetal.h @@ -37,7 +37,6 @@ public: bool isPIEDefault() const override { return false; } bool isPICDefaultForced() const override { return false; } bool SupportsProfiling() const override { return false; } - bool SupportsObjCGC() const override { return false; } RuntimeLibType GetDefaultRuntimeLibType() const override { return ToolChain::RLT_CompilerRT; diff --git a/lib/Driver/ToolChains/Cuda.h b/lib/Driver/ToolChains/Cuda.h index 3101cb3ab7..23cca03eb2 100644 --- a/lib/Driver/ToolChains/Cuda.h +++ b/lib/Driver/ToolChains/Cuda.h @@ -156,7 +156,6 @@ public: bool isPIEDefault() const override { return false; } bool isPICDefaultForced() const override { return false; } bool SupportsProfiling() const override { return false; } - bool SupportsObjCGC() const override { return false; } bool IsMathErrnoDefault() const override { return false; } void AddCudaIncludeArgs(const llvm::opt::ArgList &DriverArgs, diff --git a/lib/Driver/ToolChains/Darwin.cpp b/lib/Driver/ToolChains/Darwin.cpp index 39c4525f84..5dc8a91bcf 100644 --- a/lib/Driver/ToolChains/Darwin.cpp +++ b/lib/Driver/ToolChains/Darwin.cpp @@ -2041,8 +2041,6 @@ void Darwin::addStartObjectFileArgs(const ArgList &Args, } } -bool Darwin::SupportsObjCGC() const { return isTargetMacOS(); } - void Darwin::CheckObjCARC() const { if (isTargetIOSBased() || isTargetWatchOSBased() || (isTargetMacOS() && !isMacosxVersionLT(10, 6))) diff --git a/lib/Driver/ToolChains/Darwin.h b/lib/Driver/ToolChains/Darwin.h index bcc76111a4..2b8477aa27 100644 --- a/lib/Driver/ToolChains/Darwin.h +++ b/lib/Driver/ToolChains/Darwin.h @@ -245,8 +245,6 @@ public: bool SupportsProfiling() const override; - bool SupportsObjCGC() const override { return false; } - bool UseDwarfDebugFlags() const override; bool UseSjLjExceptions(const llvm::opt::ArgList &Args) const override { @@ -455,8 +453,6 @@ public: return 0; } - bool SupportsObjCGC() const override; - void CheckObjCARC() const override; bool UseSjLjExceptions(const llvm::opt::ArgList &Args) const override; diff --git a/lib/Driver/ToolChains/WebAssembly.cpp b/lib/Driver/ToolChains/WebAssembly.cpp index b57989ce45..1464c150c9 100644 --- a/lib/Driver/ToolChains/WebAssembly.cpp +++ b/lib/Driver/ToolChains/WebAssembly.cpp @@ -98,9 +98,6 @@ bool WebAssembly::isPICDefaultForced() const { return false; } bool WebAssembly::IsIntegratedAssemblerDefault() const { return true; } -// TODO: Support Objective C stuff. -bool WebAssembly::SupportsObjCGC() const { return false; } - bool WebAssembly::hasBlocksRuntime() const { return false; } // TODO: Support profiling. diff --git a/lib/Driver/ToolChains/WebAssembly.h b/lib/Driver/ToolChains/WebAssembly.h index 2999db477f..7524361d51 100644 --- a/lib/Driver/ToolChains/WebAssembly.h +++ b/lib/Driver/ToolChains/WebAssembly.h @@ -49,7 +49,6 @@ private: bool isPICDefaultForced() const override; bool IsIntegratedAssemblerDefault() const override; bool hasBlocksRuntime() const override; - bool SupportsObjCGC() const override; bool SupportsProfiling() const override; bool HasNativeLLVMSupport() const override; void addClangTargetOptions(const llvm::opt::ArgList &DriverArgs, |