Skip to content
  1. Apr 07, 2008
  2. Apr 06, 2008
  3. Apr 04, 2008
    • Steve Naroff's avatar
      Rename ScopedDecl::getContext() -> getContextDecl(). Two motivations: · c7d38433
      Steve Naroff authored
      #1: To be consistent with FieldDecl::getContextDecl(), which serves the same purpose.
      #2: From my perspective, getContext() is too general (and used by several other classes for different purposes).
      
      llvm-svn: 49224
      c7d38433
    • Seo Sanghyeon's avatar
      PR1963: Address of function is a constant expression · 055c94f2
      Seo Sanghyeon authored
      llvm-svn: 49212
      055c94f2
    • 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
  6. Apr 01, 2008
  7. Mar 31, 2008
    • Chris Lattner's avatar
      rename Decl::CompatibleAlias -> ObjCCompatibleAlias. · 59a2594f
      Chris Lattner authored
      Fix objc ivar lookup.  Ivar lookup should occur between lookup
      of method-local values and lookup of globals.  Emulate this with
      some logic in the handling of Sema::ActOnIdentifierExpr.
      
      Two todo's left:
       1) sema shouldn't turn a bare reference to an ivar into "self->ivar"
          in the AST.  This is a hack.
       2) The new ScopedDecl::isDefinedOutsideFunctionOrMethod method does
          not correctly handle typedefs and enum constants yet.
      
      llvm-svn: 48972
      59a2594f
  8. Mar 17, 2008
  9. Mar 16, 2008
Loading