Skip to content
  1. Sep 04, 2008
  2. Sep 03, 2008
    • Daniel Dunbar's avatar
      Set register storage class correctly for function parameters. · 0ff4192f
      Daniel Dunbar authored
       - PR2730
      
      llvm-svn: 55739
      0ff4192f
    • Daniel Dunbar's avatar
      Add __builtin_object_size support. · b0d34c8e
      Daniel Dunbar authored
       - Currently CodeGen always returns a conservative value for this (-1
         or 0 depending on the context).
      
      llvm-svn: 55735
      b0d34c8e
    • Steve Naroff's avatar
      Add semantic analysis for "blocks". · c540d669
      Steve Naroff authored
      Highlights...
      
      - 4 new AST nodes, BlockExpr, BlockStmtExpr, BlockExprExpr, BlockDeclRefExpr.
      - Sema::ActOnBlockStart(), ActOnBlockError(), ActOnBlockStmtExpr(), ActOnBlockExprExpr(), ActOnBlockReturnStmt().
      
      Next steps...
      
      - hack Sema::ActOnIdentifierExpr() to deal with block decl refs.
      - add attribute handler for byref decls.
      - add test cases.
      
      llvm-svn: 55710
      c540d669
    • Ted Kremenek's avatar
      Fix 80 col violations. · 3060d98a
      Ted Kremenek authored
      llvm-svn: 55707
      3060d98a
    • Daniel Dunbar's avatar
      Improve type-checking of ?: for Objective-C types. · de1ec9cd
      Daniel Dunbar authored
       - Allow any Objective-C object types to devolve to type id in a ?:
         expression. This matches gcc behavior more closely.
      
      llvm-svn: 55705
      de1ec9cd
    • Ted Kremenek's avatar
      Store: (static analyzer) · 1b9e1039
      Ted Kremenek authored
      - Change definition of store::Region and store::Binding (once again) to make
        them real classes that just wrap pointers. This makes them more strictly
        typed, and allows specific implementations of Regions/Bindings to just
        subclass them.
      - minor renamings to RegionExtent and its subclasses
      - added a bunch of doxygen comments
      
      StoreManager: (static analyzer)
      - added 'iterBindings', an iteration method for iterating over the bindings of a
        store. It that takes a callback object (acting like a poor man's closure).
      - added 'getRVal' version for store::Binding. Will potentially phase the other
        versions of GetRVal in StoreManager out.
      - reimplemented 'getBindings' to be non-virtual and to use 'iterBindings'
      
      BasicStoreManager: (static analyzer)
      - implemented 'iterBindings' for BasicStoreManager
      
      llvm-svn: 55688
      1b9e1039
    • Daniel Dunbar's avatar
      Restore Objective-C dot-syntax access of methods. · ef89086c
      Daniel Dunbar authored
       - Now also searches for correct setter method.
       - There are still some issues regarding validation of the setter
         method and access of read-only properties.
      
      llvm-svn: 55686
      ef89086c
    • Daniel Dunbar's avatar
      Fix ObjCPropertRefExpr to be able to encode all the information for · c5d33040
      Daniel Dunbar authored
      uses which refer to methods not properties.
       - Not yet wired in Sema.
      
      llvm-svn: 55681
      c5d33040
  3. Sep 02, 2008
  4. Sep 01, 2008
  5. Aug 31, 2008
  6. Aug 30, 2008
    • Anders Carlsson's avatar
      Stub out CodeGenFunction::EmitObjCForCollectionStmt. · 2e744e8a
      Anders Carlsson authored
      Add CodeGenFunction::EmitMemSetToZero and make AggExprEmitter::EmitAggregateClear use it.
      
      llvm-svn: 55573
      2e744e8a
    • Anders Carlsson's avatar
      Add code to create the fast enumeration state type · d89ba7d0
      Anders Carlsson authored
      llvm-svn: 55572
      d89ba7d0
    • Anders Carlsson's avatar
      Simplify some calls to Builder.CreateCall · 7e1e5710
      Anders Carlsson authored
      llvm-svn: 55567
      7e1e5710
    • Daniel Dunbar's avatar
      Add Objective-C property setter support. · 4b8c6db9
      Daniel Dunbar authored
       - Change Obj-C runtime message API, drop the ObjCMessageExpr arg in
         favor of just result type and selector. Necessary so it can be
         reused in situations where we don't want to cons up an
         ObjCMessageExpr.
       - Update aggregate binary assignment to know about special property
         ref lvalues.
       - Add CodeGenFunction::EmitCallArg overload which takes an already
         emitted rvalue.
      
      Add CodeGenFunction::StoreComplexIntoAddr.
      
      Disabled logic in Sema for parsing Objective-C dot-syntax that
      accesses methods. This code does not search in the correct order and
      the AST node has no way of properly representing its results.
      
      Updated StmtDumper to print a bit more information about
      ObjCPropertyRefExprs.
      
      llvm-svn: 55561
      4b8c6db9
    • Daniel Dunbar's avatar
      Refactor handling of calls: · c722b856
      Daniel Dunbar authored
       - Added CodeGenFunction::EmitCall which just takes the callee, return
         type, and a list of (Value*,QualType) pairs.
       - Added CodeGenFunction::EmitCallArg which handles emitting code for
         a call argument and turning it into an appropriate
         (Value*,QualType) pair.
       - Changed Objective-C runtime interface so that the actual emission
         of arguments for message sends is (once again) done in the code to
         emit a message send.
      
      No intended functionality change, this is prep work for better ABI
      support and for Objective-C property setter support.
      
      llvm-svn: 55560
      c722b856
    • Daniel Dunbar's avatar
      Add newline at end of file. · c62cf792
      Daniel Dunbar authored
      llvm-svn: 55559
      c62cf792
  7. Aug 29, 2008
Loading