Skip to content
  1. Aug 10, 2008
  2. Aug 09, 2008
  3. Aug 08, 2008
    • Steve Naroff's avatar
      Fix issues with C "tentative" definitions. · 5bb8f226
      Steve Naroff authored
      - Move checking from MergeVarDecl->FinializeDeclaratorGroup. Since MergeVarDecl is called before the initializer is attacted, it can't be done there (this removes a long standing FIXME).
      - Add Sema::isTentativeDefinition() and Sema::CheckForFileScopedRedefinitions().
      - Remove FIXME's and touch-up test case.
      
      Still some more work to do (forthcoming)...
      
      llvm-svn: 54533
      5bb8f226
  4. Aug 07, 2008
  5. Aug 06, 2008
  6. Aug 05, 2008
  7. Aug 04, 2008
    • Chris Lattner's avatar
      · 7adf0760
      Chris Lattner authored
      Finally fix PR2189.  This makes a fairly invasive but important change to
      move getAsArrayType into ASTContext instead of being a method on type.
      This is required because getAsArrayType(const AT), where AT is a typedef
      for "int[10]" needs to return ArrayType(const int, 10).
      
      Fixing this greatly simplifies getArrayDecayedType, which is a good sign.
      
      llvm-svn: 54317
      7adf0760
  8. Aug 01, 2008
  9. Jul 27, 2008
  10. Jul 25, 2008
  11. Jul 23, 2008
  12. Jul 22, 2008
    • Chris Lattner's avatar
      minor cleanup to the actions interface to pass around SmallVectorImpl instead · d7352d68
      Chris Lattner authored
      of a specific smallvector size.
      
      Fix protocol lists to pass down proper location info, so we get diagnostics
      like this:
      
      t.m:3:35: error: cannot find protocol definition for 'NSCopying', referenced by 'NSWhatever'
      @interface NSWhatever : NSObject <NSCopying>
                                        ^
      
      instead of this:
      
      t.m:3:44: error: cannot find protocol definition for 'NSCopying', referenced by 'NSWhatever'
      @interface NSWhatever : NSObject <NSCopying>
                                                 ^
      
      
      Add a new IdentifierLocPair typedef which is just a pair<IdentifierInfo*, SourceLocation>
      
      llvm-svn: 53883
      d7352d68
  13. Jul 17, 2008
  14. Jul 16, 2008
  15. Jul 11, 2008
  16. Jul 09, 2008
  17. Jul 07, 2008
  18. Jul 03, 2008
  19. Jul 01, 2008
  20. Jun 29, 2008
  21. Jun 28, 2008
  22. Jun 26, 2008
  23. Jun 21, 2008
  24. Jun 17, 2008
  25. 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
  26. 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
Loading