Skip to content
  1. May 27, 2008
  2. May 25, 2008
  3. May 23, 2008
  4. May 22, 2008
  5. May 21, 2008
  6. May 20, 2008
    • Nuno Lopes's avatar
      initialize variable and fix a bunch of test failures · 27f84074
      Nuno Lopes authored
      llvm-svn: 51326
      27f84074
    • Eli Friedman's avatar
      Perform stricter/more accurate checking for C99 constant expressions · d5a55bd4
      Eli Friedman authored
      in Sema, per discussion on mailing list.  This doesn't cause any changes 
      in the test results.  I'll probably add some more tests at some point, 
      but it's an open question what we need to accept to be compatible with 
      real code.
      
      This doesn't touch the existing isConstantExpr method on Expr; that 
      should be addressed somehow eventually (either removed or refined to 
      whatever is appropriate).
      
      llvm-svn: 51318
      d5a55bd4
    • Eli Friedman's avatar
      Add __builtin_frame_address and __builtin_return_address gcc builtins to · f8353034
      Eli Friedman authored
      Sema. No codegen yet.
      
      llvm-svn: 51307
      f8353034
    • Eli Friedman's avatar
      Be a bit more defensive in SemaInit. · d0e48ea6
      Eli Friedman authored
      llvm-svn: 51301
      d0e48ea6
    • Eli Friedman's avatar
      Add some more checking for compound literals. · 37a186d7
      Eli Friedman authored
      llvm-svn: 51300
      37a186d7
    • 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
  7. May 19, 2008
  8. May 18, 2008
  9. May 16, 2008
  10. May 15, 2008
  11. May 14, 2008
  12. May 13, 2008
  13. May 12, 2008
  14. 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
  15. May 09, 2008
  16. May 08, 2008
Loading