Skip to content
  1. Oct 15, 2007
    • Steve Naroff's avatar
      · 27164362
      Steve Naroff authored
      Teach the type checker about "id". This removes the following bogus warning...
      
      [dylan:~/llvm/tools/clang] admin% ../../Debug/bin/clang t.m
      t.m:29:18: warning: incompatible pointer types assigning 'id' to 'NSString *'
          resultString = [[NSString alloc] initWithFormat:0 arguments:0];
          ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      llvm-svn: 42975
      27164362
    • Anders Carlsson's avatar
      Add support for Pascal strings. · cbfc4b88
      Anders Carlsson authored
      llvm-svn: 42974
      cbfc4b88
    • Anders Carlsson's avatar
      Fix a warning · b30f47a8
      Anders Carlsson authored
      llvm-svn: 42973
      b30f47a8
    • Steve Naroff's avatar
      · 5d152544
      Steve Naroff authored
      - Teach ObjcInterfaceDecl::lookupInstance/ClassMethod to look through protocols.
      - Start looking up methods in the global method pools (for "id").
      - Start integrating interface types into the type system.
      
      llvm-svn: 42971
      5d152544
  2. Oct 14, 2007
    • Steve Naroff's avatar
      · ca0ecfe0
      Steve Naroff authored
      Add category lookup (removing a couple FIXME's).
      Changed ObjcInterfaceDecl::ListCategories->CategoryList.
      
      llvm-svn: 42968
      ca0ecfe0
    • Steve Naroff's avatar
      · e7ed06e6
      Steve Naroff authored
      Fix -ast-dump for ObjC.
      
      llvm-svn: 42967
      e7ed06e6
    • Steve Naroff's avatar
      · 5811baf1
      Steve Naroff authored
      - Added Sema::AddFactoryMethodToGlobalPool and Sema::AddInstanceMethodToGlobalPool and DenseMaps. This will allow us to efficiently lookup a method from a selector given no type information (for the "id" data type).
      
      - Fixed some funky "}
                          else {" indentation in Sema::ActOnAddMethodsToObjcDecl(). I'd prefer we stay away from this style...it wastes space and isn't any easier to read (from my perspective, at least:-)
      
      - Changed Parser::ParseObjCInterfaceDeclList() to only call Action::ActOnAddMethodsToObjcDecl() when it actually has methods to add (since most interface have methods, this is a very minor cleanup).
      
      llvm-svn: 42957
      5811baf1
  3. Oct 13, 2007
  4. Oct 12, 2007
  5. Oct 11, 2007
Loading