From: David Chisnall Date: Sun, 22 May 2011 16:26:21 +0000 (+0000) Subject: Change the default for supporting ObjC GC to true. This shouldn't really be in ToolC... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74a63bca21a352319162505dce8310c1d6ed15cd;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131856 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/ToolChain.h b/include/clang/Driver/ToolChain.h index da6949f978..626d54c37b 100644 --- a/include/clang/Driver/ToolChain.h +++ b/include/clang/Driver/ToolChain.h @@ -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.