Skip to content
  1. Nov 12, 2007
  2. Nov 11, 2007
    • Steve Naroff's avatar
      · bb87572d
      Steve Naroff authored
      Replace 3 method definition functions (ObjcParseMethodDefinition, ParseObjCInstanceMethodDefinition, ParseObjCClassMethodDefinition) with 1 method definition function (ParseObjCMethodDefinition).
      
      Less code/confusion.
      
      llvm-svn: 43999
      bb87572d
    • Anton Korobeynikov's avatar
      Clarify the meaning of '-2' register number · 0644bb86
      Anton Korobeynikov authored
      llvm-svn: 43998
      0644bb86
    • Anton Korobeynikov's avatar
      Use TableGen to emit information for dwarf register numbers. · 4edfea43
      Anton Korobeynikov authored
      This makes DwarfRegNum to accept list of numbers instead.
      Added three different "flavours", but only slightly tested on x86-32/linux.
      Please check another subtargets if possible,
      
      llvm-svn: 43997
      4edfea43
    • 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
  3. Nov 10, 2007
  4. Nov 09, 2007
Loading