Skip to content
  1. May 20, 2008
    • Ted Kremenek's avatar
      Try to plug some memory leaks... · ce20e8fe
      Ted Kremenek authored
      1) Sema::ParseAST now constructs a TranslationUnit object to own the top-level Decls, which releases the top-level Decls upon exiting ParseAST.
      
      2) Bug fix: TranslationUnit::~TranslationUnit handles the case where a Decl is added more than once as a top-level Decl.
      
      3) Decl::Destroy is now a virtual method, obviating the need for a special dispatch based on DeclKind.
      
      3) FunctionDecl::Destroy now releases its Body using its Destroy method.
      
      4) Added Stmt::Destroy and Stmt::DestroyChildren, which recursively delete the child ASTs of a Stmt and call their dstors.  We may need to special case dstor/Destroy methods for particular Stmt subclasses that own other dynamically allocated objects besides AST nodes.
      
      5) REGRESSION: We temporarily are not deallocating attributes; a FIXME is provided.
      
      llvm-svn: 51286
      ce20e8fe
  2. May 19, 2008
  3. May 18, 2008
  4. May 16, 2008
  5. May 15, 2008
  6. May 14, 2008
  7. May 13, 2008
  8. May 12, 2008
  9. May 10, 2008
    • Argyrios Kyrtzidis's avatar
      -Implement proper name lookup for namespaces. · fa8e15bf
      Argyrios Kyrtzidis authored
      -identifierResolver exposes an iterator interface to get all decls through the scope chain.
      -The semantic staff (checking IdentifierNamespace and Doug's checking for shadowed tags were moved out of IdentifierResolver and back into Sema. IdentifierResolver just gives an iterator for all reachable decls of an identifier.
      
      llvm-svn: 50923
      fa8e15bf
  10. May 09, 2008
  11. May 08, 2008
  12. May 07, 2008
  13. May 06, 2008
  14. May 05, 2008
  15. May 02, 2008
    • Fariborz Jahanian's avatar
      This patch is about merging ObjC2's properties declared in class · 98a6c4fa
      Fariborz Jahanian authored
      protocols into class's property list and performing semantics
      on them for while doing so.
      
      llvm-svn: 50587
      98a6c4fa
    • Steve Naroff's avatar
      Replace Sema::CheckInitializerListTypes() with a helper class... · f8ecff2a
      Steve Naroff authored
      Replace Sema::CheckInitializerListTypes() with a helper class (InitListChecker) that synthesizes implicit InitListExpr's when appropriate (see InitListExpr comments in Expr.h for more details). I also moved the code to SemaInit.cpp, to help reduce clutter in SemaDecl.cpp.
      
      NOTE: This work is incomplete and still fails many tests (as a result, it isn't enabled yet). Nevertheless, I wanted to check it in so I can work on it from home.
      llvm-svn: 50544
      f8ecff2a
  16. May 01, 2008
  17. Apr 30, 2008
  18. Apr 27, 2008
    • Argyrios Kyrtzidis's avatar
      Parsing of namespaces: · 08114898
      Argyrios Kyrtzidis authored
      -NamespaceDecl for the AST
      -Checks for name clashes between namespaces and tag/normal declarations.
      
      This commit doesn't implement proper name lookup for namespaces.
      
      llvm-svn: 50321
      08114898
Loading