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
Loading