Skip to content
  1. Apr 07, 2008
  2. 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
  3. 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
  4. Apr 03, 2008
  5. Apr 02, 2008
    • 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
      Add a citation. · 53be405c
      Chris Lattner authored
      llvm-svn: 49080
      53be405c
    • Chris Lattner's avatar
      Fix several bugs in array -> pointer decomposition. · a21ad805
      Chris Lattner authored
      First, we got several CVR propagation cases wrong, which Eli pointed
      out in PR2039.
      
      Second, we didn't propagate address space qualifiers correctly, leading
      to incorrect lowering of code in CodeGen/address-space.c.
      
      Third, we didn't uniformly propagate the specifier in the array to the
      pointer ("int[restrict 4]" -> "int *restrict").
      
      This adds an ASTContext::getArrayDecayedType member that handles the 
      non-trivial logic for this seemingly simple operation.
      
      llvm-svn: 49078
      a21ad805
  6. Mar 16, 2008
  7. Mar 15, 2008
  8. Mar 08, 2008
  9. Mar 05, 2008
Loading