Skip to content
  1. Feb 26, 2009
  2. Feb 25, 2009
  3. Feb 24, 2009
  4. Feb 23, 2009
  5. Feb 22, 2009
    • Steve Naroff's avatar
      Contains the following (related to problems found while investigting... · c4173fa7
      Steve Naroff authored
      Contains the following (related to problems found while investigting <rdar://problem/6497631> Message lookup is sometimes different than gcc's).
      
      - Implement instance/class overloading in ObjCContainerDecl (removing a FIXME). This involved hacking NamedDecl::declarationReplaces(), which took awhile to figure out (didn't realize replace was the default).
      - Changed Sema::ActOnInstanceMessage() to remove redundant warnings when dealing with protocols. For now, I've omitted the "protocol" term in the diagnostic. It simplifies the code flow and wan't always 100% accurate (e.g. "Foo<Prot>" looks in the class interface, not just the protocol).
      - Changed several test cases to jive with the above changes.
      
      llvm-svn: 65292
      c4173fa7
    • Mike Stump's avatar
      Cleanp code with some recent suggestions. · 624497c2
      Mike Stump authored
      llvm-svn: 65285
      624497c2
    • Eli Friedman's avatar
      Fix test to be legal on 64-bit systems. · fd852663
      Eli Friedman authored
      llvm-svn: 65270
      fd852663
    • Eli Friedman's avatar
      Throw the switch to exclusively use Evaluate (along with the small · 7bfab368
      Eli Friedman authored
      helper isConstantInitializer) to check whether an initializer is 
      constant.  This passes tests, but it's possible that it'll cause 
      regressions with real-world code.
      
      Future work:
      1. The diagnostics obtained this way are lower quality at the moment; 
      some work both here and in Evaluate is needed for accurate diagnostics.
      2. We probably need some extra code when we're in -pedantic mode so we 
      can strictly enforce the rules in C99 6.6p7.
      3. Dead code cleanup (this should wait until after 2, because we might 
      want to re-use some of the code).
      
      llvm-svn: 65265
      7bfab368
    • Eli Friedman's avatar
      Fix for PR3433: map __alignof__ to preferred alignment. (This was · 3f8c01a1
      Eli Friedman authored
      partially done in r65258.)
      
      llvm-svn: 65260
      3f8c01a1
Loading