Skip to content
  1. Aug 11, 2008
    • Daniel Dunbar's avatar
      More #include cleaning · 6e8aa537
      Daniel Dunbar authored
       - Drop {Decl.h,DeclObjC.h,IdentifierTable.h} from Expr.h
       - Moved Sema::getCurMethodDecl() out of line (dependent on
         ObjCMethodDecl via dyn_cast).
      
      llvm-svn: 54629
      6e8aa537
    • Daniel Dunbar's avatar
      More #include cleaning · c74b5cc2
      Daniel Dunbar authored
       - Drop Diagnostic.h from DeclSpec.h, move utility Diag methods into
         implementation .cpp
      
      llvm-svn: 54626
      c74b5cc2
  2. Aug 10, 2008
  3. Aug 09, 2008
  4. 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
  5. Aug 07, 2008
  6. Aug 06, 2008
  7. Aug 05, 2008
  8. 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
  9. Aug 01, 2008
  10. Jul 27, 2008
  11. Jul 25, 2008
  12. Jul 23, 2008
  13. 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
  14. Jul 17, 2008
  15. Jul 16, 2008
  16. Jul 11, 2008
  17. Jul 09, 2008
  18. Jul 07, 2008
  19. Jul 03, 2008
  20. Jul 01, 2008
  21. Jun 29, 2008
  22. Jun 28, 2008
  23. Jun 26, 2008
  24. Jun 21, 2008
  25. Jun 17, 2008
  26. 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
Loading