Skip to content
  1. Jun 16, 2008
  2. Jun 11, 2008
    • Eli Friedman's avatar
      Don't crash if we can't find FileEntry info for a typedef, since one · 61b529f4
      Eli Friedman authored
      isn't guaranteed to exist. This fixes a crash with conflicting typedefs
      coming from stdin.
      
      This also fixes the crash in PR2406, but doesn't completely fix the 
      issue; it appears there's something strange about the physical location 
      for the definition of int64_t in stdlib.h.
      
      llvm-svn: 52209
      61b529f4
  3. Jun 10, 2008
    • Argyrios Kyrtzidis's avatar
      -Add DeclChain member to DeclContext. · 406fb231
      Argyrios Kyrtzidis authored
      -ScopedDecls get chained to their DeclContext.
      -DeclContext's DeclChain replaces FunctionDecl's DeclChain and EnumDecl's ElementList.
      
      llvm-svn: 52164
      406fb231
    • Argyrios Kyrtzidis's avatar
      -Changes to TagDecl: · 554a07ba
      Argyrios Kyrtzidis authored
        Added TagKind enum.
        Added getTagKind() method.
        Added convenience methods: isEnum(), isStruct(), isUnion(), isClass().
      -RecordDecl/CXXRecordDecl::Create() accept a TagKind enum instead of a DeclKind one.
      
      llvm-svn: 52160
      554a07ba
  4. Jun 09, 2008
    • Eli Friedman's avatar
      Add code to make test/CodeGen/struct-init.c work correctly without the · e6e0f23a
      Eli Friedman authored
      pointer cast hack currently in isIntegerConstantExpr 
      (in lib/AST/Expr.cpp).  Also removes an odd test that even gcc doesn't accept.
      
      The reason the pointer cast hack is relevant here is that it makes Sema 
      end up misinterpreting the relevant expression as a null pointer constant.
      
      The reason for this patch is that I plan to remove the pointer cast hack 
      sometime soon because it causes strange issues, especially in its 
      current form; see my recent email to cfe-dev
      "[PATCH] add constant expression evaluation to the AST and fix PR2413".
      
      llvm-svn: 52120
      e6e0f23a
    • Eli Friedman's avatar
      For struct initialization, check compatibility with the unqualified · 75675739
      Eli Friedman authored
      type; this isn't explicitly stated in the standard, but it doesn't 
      really make sense for them to have an effect here.  Fixes the included 
      testcase, sent to me by Steve Naroff.
      
      llvm-svn: 52113
      75675739
  5. Jun 08, 2008
  6. Jun 06, 2008
  7. Jun 05, 2008
  8. Jun 04, 2008
  9. Jun 03, 2008
  10. Jun 02, 2008
  11. Jun 01, 2008
  12. May 31, 2008
  13. May 30, 2008
  14. May 29, 2008
Loading