]> granicus.if.org Git - clang/commitdiff
Change the default for supporting ObjC GC to true. This shouldn't really be in ToolC...
authorDavid Chisnall <csdavec@swan.ac.uk>
Sun, 22 May 2011 16:26:21 +0000 (16:26 +0000)
committerDavid Chisnall <csdavec@swan.ac.uk>
Sun, 22 May 2011 16:26:21 +0000 (16:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131856 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/ToolChain.h

index da6949f9786ea23225a84177d06f9570e912e811..626d54c37b8af5331e94772df88394ca6342ec92 100644 (file)
@@ -157,7 +157,7 @@ public:
   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.