Skip to content
  1. Sep 05, 2008
    • Ted Kremenek's avatar
      Remove "NextDecl" from RecordDecl. This change touches many files that where... · 47923c7e
      Ted Kremenek authored
      Remove "NextDecl" from RecordDecl.  This change touches many files that where RecordDecl or CXXRecordDecl was constructed, always with an argument of 'NULL' for the previous declaration.
      
      The motivation behind this change is that chaining the RecordDecls is simply unnecessary.  Once we create multiple RecordDecls for the same struct/union/class, clients that care about all the declarations of the same struct can build a back map by seeing which Decls refer to the same RecordType.
      
      llvm-svn: 55821
      47923c7e
  2. Sep 04, 2008
  3. Sep 03, 2008
    • 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
    • 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
  4. Sep 02, 2008
    • Ted Kremenek's avatar
      RecordDecl: · 52baf50f
      Ted Kremenek authored
      - Remove method 'isForwardDecl'; this functionality is already provided by
        'isDefinition()'
      - Move method definitions to be co-located with other RecordDecl methods.
      
      llvm-svn: 55649
      52baf50f
    • Ted Kremenek's avatar
      RecordDecl serialization: · 478f6baf
      Ted Kremenek authored
      - Don't serialize out the NextDeclarator field.  It is unused and deprecated.
      - Serialize out the NextDecl pointer.
      
      llvm-svn: 55644
      478f6baf
    • Ted Kremenek's avatar
      RecordDecl: · 318d78f5
      Ted Kremenek authored
      - Added method 'isForwardDeclaration', a predicate method that returns true
        if a RecordDecl represents a forward declaration.
      - Added method 'getDefinitionDecl', a query method that returns a pointer to
        the RecordDecl that provides the actual definition of a struct/union.
      
      llvm-svn: 55642
      318d78f5
    • Ted Kremenek's avatar
      CXXRecordDecl and RecordDecl: · 123f025b
      Ted Kremenek authored
      - Change constructor and create methods to accept a CXXRecordDecl* (RecordDecl*)
        instead of a ScopedDecl* for PrevDecl.  This causes the type checking
        to be more tight and doesn't break any code.
        
      RecordDecl:
      
      - Don't use the NextDeclarator field in ScopedDecl to represent the previous
        declaration. This is a conflated use of the NextDeclarator field, which will
        be removed anyway when DeclGroups are fully implemented.
      
      - Instead, represent (a soon to be implemented) chain of RecordDecls using a
        NextDecl field.  The last RecordDecl in the chain is always the 'defining'
        RecordDecl that owns the FieldDecls.  The other RecordDecls in the chain
        are forward declarations.
      
      llvm-svn: 55640
      123f025b
  5. Sep 01, 2008
  6. Aug 30, 2008
    • Anders Carlsson's avatar
      Add code to create the fast enumeration state type · d89ba7d0
      Anders Carlsson authored
      llvm-svn: 55572
      d89ba7d0
    • 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
  7. Aug 28, 2008
  8. Aug 27, 2008
  9. Aug 26, 2008
  10. Aug 25, 2008
  11. Aug 23, 2008
  12. Aug 22, 2008
  13. Aug 20, 2008
  14. Aug 19, 2008
  15. Aug 14, 2008
Loading