Skip to content
  1. Nov 13, 2007
  2. Nov 12, 2007
    • Fariborz Jahanian's avatar
      Patch to do statically typed ivar references. · 21f54eea
      Fariborz Jahanian authored
      llvm-svn: 44028
      21f54eea
    • Steve Naroff's avatar
      · fedb4977
      Steve Naroff authored
      Add category method definitions incrementally, removing a FIXME (like we do for class implementations).
      
      llvm-svn: 44027
      fedb4977
    • Fariborz Jahanian's avatar
    • Fariborz Jahanian's avatar
      'super' nailed. · d98a734b
      Fariborz Jahanian authored
      llvm-svn: 44025
      d98a734b
    • Steve Naroff's avatar
      · 040f696b
      Steve Naroff authored
      Fix regression to Sema::ObjcActOnStartOfMethodDef()...need to initialize InvalidType field to false.
      
      llvm-svn: 44023
      040f696b
    • Steve Naroff's avatar
      · cd002f5a
      Steve Naroff authored
      Add an error diagnostic to Parse::ParseObjCMessageExpression().
      
      This now exposes the following bug...
      
      ******************** TEST 'Sema/message.m' FAILED! ********************
      Command: 
       clang -fsyntax-only -verify Sema/message.m
      Output:
      Errors seen but not expected:
        Line 9: invalid receiver to message expression
      ******************** TEST 'Sema/message.m' FAILED! ********************
      
      As far as I can tell, all messages to method agruments fail.
      
      The method arguments are built by Sema::ObjcActOnStartOfMethodDef().
      
      llvm-svn: 44022
      cd002f5a
    • Ted Kremenek's avatar
      In Stmt serialization, renamed directEmit to EmitImpl and · 0035bf33
      Ted Kremenek authored
      directMaterialize to CreateImpl.
      
      llvm-svn: 44020
      0035bf33
    • Steve Naroff's avatar
      · b342361c
      Steve Naroff authored
      Now that we can refer to instance variables, make sure they are considered lvalues.
      
      llvm-svn: 44017
      b342361c
    • Steve Naroff's avatar
      · e46504b2
      Steve Naroff authored
      Implement instance variable references.
      
      llvm-svn: 44016
      e46504b2
    • Steve Naroff's avatar
      · e3d1ab29
      Steve Naroff authored
      - Minor cleanup to yesterday's changes to Sema::ObjcActOnStartOfMethodDef();
      - Add Sema::CurMethodDecl, in preparation for adding ObjcIvarRefExpr.
      - Add ObjcInterfaceDecl::lookupInstanceVariable(), in prep for adding ivars.
      - A couple renames in ObjcInterfaceDecl, while I was in the vicinity:-)
      
      llvm-svn: 44015
      e3d1ab29
    • 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
Loading