[cfe-commits] r134066 - /cfe/trunk/include/clang/Driver/ToolChain.h

David Chisnall csdavec at swan.ac.uk
Wed Jun 29 06:17:23 PDT 2011


Author: theraven
Date: Wed Jun 29 08:17:23 2011
New Revision: 134066

URL: http://llvm.org/viewvc/llvm-project?rev=134066&view=rev
Log:
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.


Modified:
    cfe/trunk/include/clang/Driver/ToolChain.h

Modified: cfe/trunk/include/clang/Driver/ToolChain.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/ToolChain.h?rev=134066&r1=134065&r2=134066&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/ToolChain.h (original)
+++ cfe/trunk/include/clang/Driver/ToolChain.h Wed Jun 29 08:17:23 2011
@@ -167,7 +167,7 @@
   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.





More information about the cfe-commits mailing list