Skip to content
  1. Dec 28, 2007
  2. Dec 21, 2007
  3. Dec 20, 2007
  4. Dec 19, 2007
  5. Dec 18, 2007
    • Fariborz Jahanian's avatar
      9f0e3108
    • Chris Lattner's avatar
      Fix const propagation bug. · 78e34a00
      Chris Lattner authored
      llvm-svn: 45152
      78e34a00
    • Steve Naroff's avatar
      · b723564c
      Steve Naroff authored
      Add DefaultFunctionArrayConversion() to the indirection operator in Sema::ActOnUnaryOp().
      
      This fixes a bug Chris forwarded from Oliver Hunt...
      
      typedef struct { char name[100]; } entry;
      char f1(entry *e) { return *e->name; }
      
      llvm-svn: 45148
      b723564c
    • Steve Naroff's avatar
      · b74406ba
      Steve Naroff authored
      Fixe bogus error for variable argument methods. Sema::ObjcGetTypeForMethodDefinition() wasn't preserving the isVariadic boolean. Another fix is to avoid synthsizing the function decl entirely, however this is a separate issue that I don't want to deal with now. Also added a FIXME to Sema::CheckFunctionCall(), which is currently emitting a bogus warning.
      
      llvm-svn: 45146
      b74406ba
    • Steve Naroff's avatar
      · 1d2538cb
      Steve Naroff authored
      Improve how we find private method decls. This involved:
      
      - Changed Sema::ObjcActOnStartOfMethodDef() to register the methods with the global pools.
      - Changed Sema::ActOnInstanceMessage() to look in global pools (should be much less error prone).
      - Added a test case to message.m (for lookup that was broken).
      
      Misc changes while I was investigating this...
      
      - Changed Sema::ActOnAtEnd() to call AddFactoryMethodToGlobalPool (this looked like a cut/paste error).
      - Added a comment and tweaked another where I was using the first person.
      
      llvm-svn: 45142
      1d2538cb
  6. Dec 17, 2007
  7. Dec 16, 2007
    • Steve Naroff's avatar
      · eaaae467
      Steve Naroff authored
      Sema::ActOnMemberReferenceExpr() needs to perform the default conversions.
      
      Bug and test case provided by Carl Lewis.
      
      llvm-svn: 45078
      eaaae467
  8. Dec 15, 2007
    • Steve Naroff's avatar
      · 3ce37a6b
      Steve Naroff authored
      - Remove getInstanceMethods/getClassMethods API on ObjcInterfaceDecl, ObjcProtocolDecl, and ObjcCategoryDecl. These methods are replaced by the respective iterators on each class.
      - Add getInstanceMethodForSelector to ObjcInterfaceDecl, ObjcProtocolDecl, and ObjcCatgoryDecl. This hook will do a "shallow" lookup. This is a convenience method that reducing some of the iterator usage.
      - Various changes to convert all clients to the above API's...
       
      
      llvm-svn: 45046
      3ce37a6b
  9. Dec 13, 2007
  10. Dec 12, 2007
Loading