Skip to content
  1. Jul 27, 2011
  2. Jul 26, 2011
  3. Jul 25, 2011
  4. Jul 24, 2011
  5. Jul 23, 2011
  6. Jul 22, 2011
    • David Majnemer's avatar
      kill a FIXME in IsIntegralPromotion · fa01a583
      David Majnemer authored
      IsIntegralPromotion should consider the signedness of FromType when
      calculating promotions. This, as of now, cannot be exercised on any
      platform so there is no corresponding test.
      
      llvm-svn: 135803
      fa01a583
    • John McCall's avatar
      Document the existing objc_precise_lifetime attribute. · cf166702
      John McCall authored
      Introduce and document a new objc_returns_inner_pointer
      attribute, and consume it by performing a retain+autorelease
      on message receivers when they're not immediately loaded from
      an object with precise lifetime.
      
      llvm-svn: 135764
      cf166702
    • Chandler Carruth's avatar
      Move duplicate uninitialized warning suppression into the · 4dd6c043
      Chandler Carruth authored
      AnalysisBasedWarnings Sema layer and out of the Analysis library itself.
      This returns the uninitialized values analysis to a more pure form,
      allowing its original logic to correctly detect some categories of
      definitely uninitialized values. Fixes PR10358 (again).
      
      Thanks to Ted for reviewing and updating this patch after his rewrite of
      several portions of this analysis.
      
      llvm-svn: 135748
      4dd6c043
    • John McCall's avatar
      Move this ObjCImplementationDecl member function into libAST · 0410e572
      John McCall authored
      where it belongs.
      
      llvm-svn: 135746
      0410e572
    • John McCall's avatar
      In Objective-C, pull arbitrary attributes from overridden · d2930c21
      John McCall authored
      methods, including indirectly overridden methods like those
      declared in protocols and categories.  There are mismatches
      that we would like to diagnose but aren't yet, but this   
      is fine for now.
      
      I looked at approaches that avoided doing this lookup 
      unless we needed it, but the infer-related-result-type
      checks were doing it anyway, so I left it with the same
      fast-path check for no previous declartions of that 
      selector.
      
      llvm-svn: 135743
      d2930c21
    • Jordy Rose's avatar
      Add a const overload for ObjCInterfaceDecl::all_declared_ivar_begin. · a91768e5
      Jordy Rose authored
      This was previously not-const only because it has to lazily construct a chain
      of ivars the first time it is called (and after the chain is invalidated).
      In practice, all the clients were just const_casting their const Decls;
      all those now-unnecessary const_casts have been removed.
      
      llvm-svn: 135741
      a91768e5
    • Fariborz Jahanian's avatar
      objective-c: Any use of @synthesize or @dynamic lexically after a method (or C... · dff8de77
      Fariborz Jahanian authored
      objective-c: Any use of @synthesize or @dynamic lexically after a method (or C function) implementation 
      will be rejected with a compilation error in ARC mode, and a compiler warning otherwise.
      This may cause breakage in non-arc (and arc) tests which don't expect warning/error. Feel free
      to fix the tests, or reverse the patch, if I am unavailable. // rdar://9818354 - WIP
      
      llvm-svn: 135740
      dff8de77
  7. Jul 21, 2011
Loading