Skip to content
  1. Nov 11, 2007
    • Steve Naroff's avatar
      · 49effdef
      Steve Naroff authored
      Tweak Sema::ActOnInstanceMessage() to treat the built-in "Class" type the same as "id".
      
      llvm-svn: 43996
      49effdef
    • Steve Naroff's avatar
      · cac26f4f
      Steve Naroff authored
      This is the last 5% of the solution to teaching Sema::ActOnInstanceMessage() about private methods (r43989).
      
      While the diff is large, the idea is very simple. When we parse method definitions (in an @implementation), we need to add them incrementally (rather than wait until the @end).
      
      Other details...
      
      - Renamed Sema::ActOnAddMethodsToObjcDecl() to Sema::ActOnAtEnd(). The methods are now optional arguments.
      - Removed Parser::AllImplMethods (a nice cleanup).
      - Added location info to ObjcImplementationDecl (since we will need it very soon:-)
      - Modified message.m test to no longer allow the bogus diagnostic.
      
      llvm-svn: 43995
      cac26f4f
    • Steve Naroff's avatar
      · 5f9ae64f
      Steve Naroff authored
      Make sure Sema::CheckIncrementDecrementOperand() removes typedefs when doing it's analysis.
      
      Thanks to Seo Sanghyeon for his excellent (first) bug fix!
      
      llvm-svn: 43994
      5f9ae64f
    • Anton Korobeynikov's avatar
      Add convenient helper to obtain list of ints · a468a11d
      Anton Korobeynikov authored
      llvm-svn: 43993
      a468a11d
    • Steve Naroff's avatar
      · 22e078e0
      Steve Naroff authored
      Teach Sema::ActOnInstanceMessage() about private methods. That is, methods declared in an implementation (but not listed in the interface).
      
      This commit is only 95% of the bug fix. The last piece to this puzzle is to add the method decls to the implementation incrementally (as we encounter them). At the moment, the methods aren't added until we see an @end (which is too late).
      
      I will complete this later...
      
      llvm-svn: 43989
      22e078e0
  2. Nov 10, 2007
  3. Nov 09, 2007
Loading