Skip to content
  1. Nov 12, 2007
    • Evan Cheng's avatar
      Refactor some code. · be51f28e
      Evan Cheng authored
      llvm-svn: 44010
      be51f28e
    • Steve Naroff's avatar
      · 8e5c112a
      Steve Naroff authored
      Forgot this file from my last commit...
      
      llvm-svn: 44009
      8e5c112a
    • Steve Naroff's avatar
      · ff4dbff4
      Steve Naroff authored
      Remove Action::ObjcActOnMethodDefinition(). Rationale:
      
      - It is not an "action" - it is never called by the parser.
      - It was only used by one method, Sema::ObjcActOnStartOfMethodDef().
      
      As a result, the logic it embodied is now directly implemented in Sema::ObjcActOnStartOfMethodDef().
      
      llvm-svn: 44008
      ff4dbff4
    • Steve Naroff's avatar
      · 3434bebe
      Steve Naroff authored
      Make sure @property is allowed within a category.
      
      Bug submitted by Keith Bauer.
      
      CookieJar:Desktop keith$ cat test.m
      #import <WebKit/WebKit.h>
      
      llvm-svn: 44007
      3434bebe
    • Steve Naroff's avatar
      · d0bf516e
      Steve Naroff authored
      Remove Sema::ObjcBuildMethodParameter().
      Modify Sema::ParseParamDeclarator() to work for both ActOnStartOfFunctionDef() and ObjcActOnStartOfMethodDef().
      
      llvm-svn: 44006
      d0bf516e
    • Owen Anderson's avatar
      Fix rewriting of PHI nodes. · 556fb346
      Owen Anderson authored
      Could someone more familiar with machine-level stuff review this for me?
      
      llvm-svn: 44005
      556fb346
    • Hartmut Kaiser's avatar
      Updated VC++ build system · 28af9f7d
      Hartmut Kaiser authored
      llvm-svn: 44004
      28af9f7d
    • Owen Anderson's avatar
      Remove unnecessary #include's. · f66f0d61
      Owen Anderson authored
      llvm-svn: 44003
      f66f0d61
    • Owen Anderson's avatar
      As Chris and Evan pointed out, BreakCriticalMachineEdges doesn't really need · a1cd4521
      Owen Anderson authored
      to be a pass of its own.  Instead, move it out into a helper method.
      
      llvm-svn: 44002
      a1cd4521
    • Owen Anderson's avatar
      Fix on 64-bit machines. · 55f4e5d2
      Owen Anderson authored
      llvm-svn: 44001
      55f4e5d2
    • Steve Naroff's avatar
      · b313fc32
      Steve Naroff authored
      Replace 2 method definition actions (ActOnFunctionDefBody, ActOnMethodDefBody) with 1 method definition action (ActOnFinishFunctionBody). I can't think of any reason that we would need two action hooks.
      
      llvm-svn: 44000
      b313fc32
  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