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
    • Eli Friedman's avatar
      Restructure constant structure init codegen so that it's possible to · 247ee87e
      Eli Friedman authored
      implement bitfield codegen (although I don't envy the person who 
      implements it).  This also prevents a crash on code like that from PR2309
      (it's still broken, but it fails more gracefully).
      
      llvm-svn: 51285
      247ee87e
    • Eli Friedman's avatar
      Remove code that shouldn't have any effect anymore. · 8d0b976e
      Eli Friedman authored
      llvm-svn: 51284
      8d0b976e
    • Eli Friedman's avatar
      Implement CodeGen for __builtin_memcpy. · a3a40689
      Eli Friedman authored
      llvm-svn: 51282
      a3a40689
    • Ted Kremenek's avatar
      Added Stmt::DestroyChildren, which will be used by the dstors of the... · ee579426
      Ted Kremenek authored
      Added Stmt::DestroyChildren, which will be used by the dstors of the subclasses of Stmt to recursively delete their child AST nodes.
      
      llvm-svn: 51278
      ee579426
  2. May 19, 2008
  3. May 18, 2008
  4. May 17, 2008
  5. May 16, 2008
  6. May 15, 2008
  7. May 14, 2008
  8. May 13, 2008
Loading