Skip to content
Snippets Groups Projects
  1. Aug 30, 2012
  2. Aug 29, 2012
  3. Aug 21, 2012
    • John McCall's avatar
      Fix a pair of bugs relating to properties in ARC. · d64c2eb8
      John McCall authored
      First, when synthesizing an explicitly strong/retain/copy property
      of Class type, don't pretend during compatibility checking that the
      property is actually assign.  Instead, resolve incompatibilities
      by secretly changing the type of *implicitly* __unsafe_unretained
      Class ivars to be strong.  This is moderately evil but better than
      what we were doing.
      
      Second, when synthesizing the setter for a strong property of
      non-retainable type, be sure to use objc_setProperty.  This is
      possible when the property is decorated with the NSObject
      attribute.  This is an ugly, ugly corner of the language, and
      we probably ought to deprecate it.
      
      The first is rdar://problem/12039404;  the second was noticed by
      inspection while fixing the first.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162244 91177308-0d34-0410-b5e6-96231b3b80d8
      d64c2eb8
  4. Jul 26, 2012
  5. Jun 02, 2012
  6. Mar 30, 2012
  7. Mar 27, 2012
  8. Jan 15, 2012
  9. Nov 24, 2011
  10. Nov 14, 2011
  11. Oct 18, 2011
  12. Jul 22, 2011
  13. Jul 14, 2011
  14. Jul 07, 2011
  15. Jul 06, 2011
  16. Jun 19, 2011
  17. Jun 18, 2011
  18. Jun 15, 2011
Loading