From: David Chisnall Date: Wed, 29 Jun 2011 13:17:23 +0000 (+0000) Subject: Make ARC support default to true. Please can we stop making Objective-C runtime... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95b135b5c677173a2f27e9b150843545abf0d97c;p=clang Make ARC support default to true. Please can we stop making Objective-C runtime features part of the platform description? This only makes sense for Darwin. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134066 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/ToolChain.h b/include/clang/Driver/ToolChain.h index 053732a82f..a570beaf79 100644 --- a/include/clang/Driver/ToolChain.h +++ b/include/clang/Driver/ToolChain.h @@ -167,7 +167,7 @@ public: virtual bool UseSjLjExceptions() const { return false; } /// HasARCRuntime - Does this tool chain provide a specialized ARC runtime. - virtual bool HasARCRuntime() const { return false; } + virtual bool HasARCRuntime() const { return true; } /// ComputeLLVMTriple - Return the LLVM target triple to use, after taking /// command line arguments into account.