Author: theraven
Date: Sun May 22 11:26:21 2011
New Revision: 131856

URL: http://llvm.org/viewvc/llvm-project?rev=131856&view=rev
Log:
Change the default for supporting ObjC GC to true.  This shouldn't really be in 
ToolChain at all, since it's a property of the objc runtime library.


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=131856&r1=131855&r2=131856&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/ToolChain.h (original)
+++ cfe/trunk/include/clang/Driver/ToolChain.h Sun May 22 11:26:21 2011
@@ -157,7 +157,7 @@
   virtual bool SupportsProfiling() const { return true; }
 
   /// Does this tool chain support Objective-C garbage collection.
-  virtual bool SupportsObjCGC() const { return false; }
+  virtual bool SupportsObjCGC() const { return true; }
 
   /// UseDwarfDebugFlags - Embed the compile options to clang into the Dwarf
   /// compile unit information.


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to