Skip to content
  1. Apr 16, 2008
    • Steve Naroff's avatar
      Remove FileVarDecl and BlockVarDecl. They are replaced by... · 08899ff8
      Steve Naroff authored
      Remove FileVarDecl and BlockVarDecl. They are replaced by VarDecl::isBlockVarDecl() and VarDecl::isFileVarDecl().
      
      This is a fairly mechanical/large change. As a result, I avoided making any changes/simplifications that weren't directly related. I did break two Analysis tests. I also have a couple FIXME's in UninitializedValues.cpp. Ted, can you take a look? If the bug isn't obvious, I am happy to dig in and fix it (since I broke it).
      
      llvm-svn: 49748
      08899ff8
  2. Apr 15, 2008
  3. Apr 14, 2008
  4. Apr 13, 2008
  5. Apr 12, 2008
  6. Apr 11, 2008
  7. Apr 10, 2008
  8. Apr 08, 2008
  9. Apr 07, 2008
  10. Apr 06, 2008
  11. Apr 05, 2008
  12. Apr 04, 2008
  13. Apr 03, 2008
  14. Apr 02, 2008
    • Steve Naroff's avatar
      Change ObjCInterfaceDecl to inherit from NamedDecl (not TypeDecl). While... · 77892753
      Steve Naroff authored
      Change ObjCInterfaceDecl to inherit from NamedDecl (not TypeDecl). While ObjCInterfaceDecl is arguably a TypeDecl, it isn't a ScopedDecl. Since TypeDecl's are scoped, it makes sense to simply treat them as NamedDecl's. I could have fiddled a bit more with the hierarchy (in terms of creating a non-scoped TypeDecl), however this probably isn't worth the effort. 
      
      I also finished unifying access to scope decl change by converting Sema::getObjCInterfaceDecl() to use Sema::LookupDecl(). This is much cleaner now:-)
      
      llvm-svn: 49107
      77892753
    • Chris Lattner's avatar
      simplify some code by using PointerLikeType. · 182f660d
      Chris Lattner authored
      llvm-svn: 49101
      182f660d
    • Chris Lattner's avatar
      add a common base class "PointerLikeType" for PointerType and ReferenceType, · db5f1fa3
      Chris Lattner authored
      allowing them to be treated the same in some contexts.  A suggestion for a
      better name is welcome :)
      
      llvm-svn: 49100
      db5f1fa3
    • 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
Loading