Skip to content
  1. Jun 05, 2012
    • Sean Callanan's avatar
      Fixed handling of Objective-C properties to ensure · a0b80aba
      Sean Callanan authored
      that automatically generated setters/getters only
      get added to a class after explicitly declared (or
      synthesized) getters/setters had the chance to be
      added.  This eliminates conflicts creating errors
      of the form:
      
      error: instance method '...' has incompatible result
      types in different translation units ('X *' vs. 'id')
      
      llvm-svn: 157956
      a0b80aba
    • Richard Smith's avatar
      Add a warning for when an array-to-pointer decay is performed on an array · eb3cad53
      Richard Smith authored
      temporary or an array subobject of a class temporary, and the resulting value
      is used to initialize a pointer which outlives the temporary. Such a pointer
      is always left dangling after the initialization completes and the array's
      lifetime ends.
      
      In order to detect this situation, this change also adds an
      LValueClassification of LV_ArrayTemporary for temporaries of array type which
      aren't subobjects of class temporaries. These occur in C++11 T{...} and GNU C++
      (T){...} expressions, when T is an array type. Previously we treated the former
      as a generic prvalue and the latter as a class temporary.
      
      llvm-svn: 157955
      eb3cad53
  2. Jun 04, 2012
Loading