Skip to content
  1. Jun 05, 2008
  2. May 23, 2008
  3. May 07, 2008
  4. May 06, 2008
  5. May 05, 2008
  6. May 02, 2008
  7. May 01, 2008
  8. Apr 27, 2008
  9. Apr 24, 2008
  10. Apr 23, 2008
  11. Apr 21, 2008
  12. Apr 18, 2008
  13. Apr 17, 2008
  14. Apr 16, 2008
  15. Apr 15, 2008
  16. Apr 12, 2008
  17. Apr 11, 2008
  18. Apr 10, 2008
  19. Apr 08, 2008
  20. Apr 07, 2008
  21. Apr 06, 2008
    • Chris Lattner's avatar
      This patch contains these changes: · 0a5ff0d3
      Chris Lattner authored
      -Renamed ContextDecl -> DeclContext
      -Removed DeclContext pointer from FieldDecl
      -EnumDecl inherits from DeclContext, instead of TagDecl
      
      Patch by Argiris Kirtzidis!
      
      llvm-svn: 49261
      0a5ff0d3
  22. Apr 04, 2008
    • Chris Lattner's avatar
      Introduce ContextDecl, patch by Argiris Kirtzidis! · c5ffed4a
      Chris Lattner authored
      -Added ContextDecl (no TranslationUnitDecl)
      -ScopedDecl class has a ContextDecl member
      -FieldDecl class has a ContextDecl member, so that a Field or a ObjCIvar can be traced back to their RecordDecl/ObjCInterfaceDecl easily
      -FunctionDecl, ObjCMethodDecl, TagDecl, ObjCInterfaceDecl inherit from ContextDecl. With TagDecl as ContextDecl, enum constants have a EnumDecl as their context.
      -Moved Decl class to a "DeclBase.h" along with ContextDecl class
      -CurContext is handled by Sema
      
      llvm-svn: 49208
      c5ffed4a
  23. 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
    • 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
  24. Mar 17, 2008
  25. Mar 16, 2008
Loading