Skip to content
  1. Jul 27, 2011
  2. Jul 26, 2011
    • Argyrios Kyrtzidis's avatar
      In ARC we emit an error when compiling: · e3be9795
      Argyrios Kyrtzidis authored
      @interface Foo : NSObject
      @property (readonly) id myProp;
      @end
      
      @implementation Foo
      @synthesize myProp;
      @end
      
      t.m:9:13: error: ARC forbids synthesizing a property of an Objective-C object with unspecified storage attribute
      @synthesize myProp;
                  ^
      
      which is fine, we want the ownership of the synthesized ivar to be explicit. But we should _not_ emit an error
      for the following cases, because we can get the ownership either from the declared ivar or from the property type:
      
      @interface Foo : NSObject {
      	__weak id _myProp1;
      	id myProp2;
      }
      @property (readonly) id myProp1;
      @property (readonly) id myProp2;
      @property (readonly) __strong id myProp3;
      @end
      
      @implementation Foo
      @synthesize myProp1 = _myProp1;
      @synthesize myProp2;
      @synthesize myProp3;
      @end
      
      rdar://9844006.
      
      llvm-svn: 136155
      e3be9795
    • Jim Grosbach's avatar
      ARM rot_imm printing adjustment. · a5f7a8cf
      Jim Grosbach authored
      Allow the rot_imm operand to be optional. This sets the stage for refactoring
      away the "rr" versions from the multiclasses and replacing them with Pat<>s.
      
      llvm-svn: 136154
      a5f7a8cf
    • Eric Christopher's avatar
      Migrate: · e70ea8b8
      Eric Christopher authored
             CodeGen/2003-08-21-WideString.c
             CodeGen/2003-10-02-UnionLValueError.c
             CodeGen/2004-02-20-Builtins.c
             CodeGen/2008-01-04-WideBitfield.c
             CodeGen/2002-07-14-MiscTests3.c
             CodeGen/2005-04-09-ComplexOps.c
             CodeGen/2008-12-23-AsmIntPointerTie.c
             CodeGen/2005-07-20-SqrtNoErrno.c
             CodeGen/2005-01-02-VAArgError-ICE.c
             CodeGen/2004-06-17-UnorderedCompares.c
             CodeGen/2002-06-25-FWriteInterfaceFailure.c
             CodeGen/2002-02-18-64bitConstant.c
             CodeGen/2002-05-24-Alloca.c
             CodeGen/2006-01-13-Includes.c
             CodeGen/2007-09-27-ComplexIntCompare.c
             CodeGen/2004-02-13-IllegalVararg.c
             CodeGen/2007-09-12-PragmaPack.c
             CodeGen/2002-08-02-UnionTest.c
      
      from test/FrontendC with changes to remove header file includes.
      
      llvm-svn: 136153
      e70ea8b8
    • Jim Grosbach's avatar
      ARM cleanup of rot_imm encoding. · d2659138
      Jim Grosbach authored
      Start of cleaning this up a bit. First step is to remove the encoder hook by
      storing the operand as the bits it'll actually encode to so it can just be
      directly used. Map it to the assembly source values 8/16/24 when we print it.
      
      llvm-svn: 136152
      d2659138
    • Ted Kremenek's avatar
      Report more memory using in Preprocessor::getTotalMemory() and... · 182543ab
      Ted Kremenek authored
      Report more memory using in Preprocessor::getTotalMemory() and PreprocessingRecord::getTotalMemory().
      
      Most of the memory was already reported; but now we report more memory from side data structures.
      
      Fixes <rdar://problem/9379717>.
      
      llvm-svn: 136150
      182543ab
    • Eli Friedman's avatar
      Prevent x86-specific DAGCombine from creating nodes with illegal type (which... · 93dc04d5
      Eli Friedman authored
      Prevent x86-specific DAGCombine from creating nodes with illegal type (which could not be selected).  Fixes a minor isel issue that was breaking the testcase from r136130.
      
      llvm-svn: 136148
      93dc04d5
    • Enrico Granata's avatar
      adding required utility function to SWIG interface · 0efa71ae
      Enrico Granata authored
      llvm-svn: 136147
      0efa71ae
    • Evan Cheng's avatar
      Remove one last reference to Target in MC library. · 2833ad13
      Evan Cheng authored
      llvm-svn: 136145
      2833ad13
    • Johnny Chen's avatar
      We can do better with the SBValue.linked_list_iter() API by supplying a default · e33b166d
      Johnny Chen authored
      end of list test function as __eol_test__.
      
      The simple example can be reduced to:
      
          for t in task_head.linked_list_iter('next'):
              print t
      
      Modify the test program to exercise the API for both cases: supplying or not
      supplying an end of list test function.
      
      llvm-svn: 136144
      e33b166d
    • Owen Anderson's avatar
      Split am2offset into register addend and immediate addend forms, necessary for... · 2aedba6c
      Owen Anderson authored
      Split am2offset into register addend and immediate addend forms, necessary for allowing the fixed-length disassembler to distinguish between SBFX and STR_PRE.
      
      llvm-svn: 136141
      2aedba6c
    • Nicolas Geoffray's avatar
      84c7b9e5
Loading