Skip to content
  1. Aug 11, 2008
    • Daniel Dunbar's avatar
      Minor #include cleaning · 34fb6727
      Daniel Dunbar authored
       - Drop TokenKinds.h from Action.h
       - Move DeclSpec.h from Sema.h into individual Sema .cpp files
      
      llvm-svn: 54625
      34fb6727
  2. Aug 10, 2008
  3. Jul 27, 2008
  4. Jul 25, 2008
  5. Jul 24, 2008
  6. Jul 21, 2008
  7. Jun 28, 2008
  8. Jun 24, 2008
    • Ted Kremenek's avatar
      ObjCMessageExpr objects that represent messages to class methods now can... · a3a37ae8
      Ted Kremenek authored
      ObjCMessageExpr objects that represent messages to class methods now can contain the ObjCInterfaceDecl* of the target class if it was available when the ObjCMessageExpr object was constructed.  The original interfaces of the class has been preserved (requiring no functionality changes from clients), but now a "getClasSInfo" method returns both the ObjCInterfaceDecl* and IdentifierInfo* of the target class.
      
      llvm-svn: 52676
      a3a37ae8
  9. Jun 21, 2008
    • Chris Lattner's avatar
      "this patch adds code generation hooks for Objective-C constant strings. It... · 091f698d
      Chris Lattner authored
      "this patch adds code generation hooks for Objective-C constant strings.  It also modifies Sema so that Objective-C constant strings are treated as untyped objects if the interface for the constant string class can not be found.  This is consistent with Apple GCC.  I thought it was consistent with GNU GCC, since this was causing failures when trying to compile GNUstep with (GNU) GCC, but it appears that this is not the case when attempting to produce a simple test case to demonstrate it.  Possibly there is a way of making the error go away, but I haven't found out what it is yet."
      
      Patch by David Chisnall!
      
      llvm-svn: 52599
      091f698d
    • Chris Lattner's avatar
      Switch 'super' from being a weird cast thing to being a predefined expr node. · a9b3cae8
      Chris Lattner authored
      Patch by David Chisnall with objc rewriter and stmtdumper updates from me.
      
      llvm-svn: 52580
      a9b3cae8
  10. Jun 05, 2008
  11. Jun 04, 2008
  12. Jun 01, 2008
  13. May 31, 2008
  14. May 29, 2008
  15. Apr 20, 2008
    • Chris Lattner's avatar
      Restructure and simplify Sema::ObjCQualifiedIdTypesAreCompatible, · 2cc4e232
      Chris Lattner authored
      deleting dead code, making other code more obvious, and fixing a
      bug.  This fixes these (bogus) warnings in release mode:
      
      SemaExprObjC.cpp:383: warning: 'RHSProtoE' may be used uninitialized in this function
      SemaExprObjC.cpp:383: warning: 'RHSProtoI' may be used uninitialized in this function
      
      llvm-svn: 49984
      2cc4e232
  16. Apr 07, 2008
  17. Apr 02, 2008
    • Chris Lattner's avatar
      properly handle array decay in objc message exprs. · b1f7398b
      Chris Lattner authored
      llvm-svn: 49098
      b1f7398b
    • Steve Naroff's avatar
      · 2fc93f5c
      Steve Naroff authored
      Two changes to Sema::LookupDecl() interface. 
      (1) Remove IdLoc (it's never used). 
      (2) Add a bool to enable/disable lazy builtin creaation (defaults to true).
      
      This enables us to use LookupDecl() in Sema::isTypeName(), which is also part of this commit.
      
      To make this work, I changed isTypeName() to be a non-const member function. I'm not happy with this, however I fiddled with making LookupDecl() and friends const and it got ugly pretty quickly. We can certainly add it back if/when someone has time to fiddle with it. For now, I thought this simplification was more important than retaining the const-ness. 
      
      llvm-svn: 49087
      2fc93f5c
    • Steve Naroff's avatar
      Fairly large "cleaup" related to changing ObjCCompatibleAliasDecl superclass... · 257520b1
      Steve Naroff authored
      Fairly large "cleaup" related to changing ObjCCompatibleAliasDecl superclass (to inherit from NamedDecl, instead of ScopedDecl). 
      
      - Added a DenseMap to associate an IdentifierInfo with the ObjCCompatibleAliasDecl.
      - Renamed LookupScopedDecl->LookupDecl and changed it's return type to Decl. Also added lookup for ObjCCompatibleAliasDecl's.
      - Removed Sema::LookupInterfaceDecl(). Converted clients to used LookupDecl().
      - Some minor indentation changes.
      
      Will deal with ObjCInterfaceDecl and getObjCInterfaceDecl() in a separate commit...
      
      llvm-svn: 49058
      257520b1
  18. Mar 28, 2008
  19. Mar 16, 2008
    • Chris Lattner's avatar
      Make a major restructuring of the clang tree: introduce a top-level · 7a51313d
      Chris Lattner authored
      lib dir and move all the libraries into it.  This follows the main
      llvm tree, and allows the libraries to be built in parallel.  The
      top level now enforces that all the libs are built before Driver,
      but we don't care what order the libs are built in.  This speeds
      up parallel builds, particularly incremental ones.
      
      llvm-svn: 48402
      7a51313d
  20. Feb 25, 2008
  21. Feb 01, 2008
    • Chris Lattner's avatar
      make some diagnostics more terse, update testcases. · a3478348
      Chris Lattner authored
      Fix Sema::ActOnInstanceMessage to correctly do things in terms of canonical 
      types, fixing bogus errors like:
      
      NSDistantObject.m:10383:120: error: bad receiver type 'typeof((id<NSMutableCopying>)self)'
          id mess = ({ id __inv__ = ((void *)0); id __mb__ = _NSMessageBuilder((id <NSMutableCopying>)self, &__inv__); (void)[(__typeof__((id <NSMutableCopying>)self))__mb__ mutableCopyWithZone:((void *)0)]; if (!objc_collecting_enabled()) object_dispose(__mb__); __inv__; });
      
      llvm-svn: 46633
      a3478348
    • Chris Lattner's avatar
      Sema::ActOnInstanceMessage is generally doing bad things with typedefs, but · 617bfc39
      Chris Lattner authored
      here I fix just one.  The loop that rips through pointers should use
      getAsPointerType() not static_cast<PointerType*> to get the pointee.  This
      fixes a crash on a large testcase.
      
      llvm-svn: 46632
      617bfc39
  22. Jan 25, 2008
  23. Jan 07, 2008
  24. Jan 05, 2008
Loading