Skip to content
  1. Feb 26, 2009
  2. Feb 25, 2009
  3. Feb 23, 2009
  4. 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
  5. Feb 21, 2009
  6. Feb 20, 2009
  7. Feb 18, 2009
    • Douglas Gregor's avatar
      Downgrade complaints about calling unavailable functions to a warning · 171c45ab
      Douglas Gregor authored
      (as GCC does), except when we've performed overload resolution and
      found an unavailable function: in this case, we actually error.
      
      Merge the checking of unavailable functions with the checking for
      deprecated functions. This unifies a bit of code, and makes sure that
      we're checking for unavailable functions in the right places. Also,
      this check can cause an error. We may, eventually, want an option to
      make "unavailable" warnings into errors.
      
      Implement much of the logic needed for C++0x deleted functions, which
      are effectively the same as "unavailable" functions (but always cause
      an error when referenced). However, we don't have the syntax to
      specify deleted functions yet :)
      
      llvm-svn: 64955
      171c45ab
    • Chris Lattner's avatar
      Start improving diagnostics that relate to subcharacters of string literals. · a26fb347
      Chris Lattner authored
      First step, handle diagnostics in StringLiteral's that are due to token pasting.
      
      For example, we now handle:
        id str2 = @"foo" 
                  "bar"
                 @"baz"
                 " b\0larg";  // expected-warning {{literal contains NUL character}}
      
      Correctly:
      
      test/SemaObjC/exprs.m:17:15: warning: CFString literal contains NUL character
                 " b\0larg";  // expected-warning {{literal contains NUL character}}
                 ~~~^~~~~~~
      
      There are several other related issues still to be done.
      
      llvm-svn: 64924
      a26fb347
    • Chris Lattner's avatar
      pass -verify in exprs.m, merge const-id.m into message.m · c96e0c43
      Chris Lattner authored
      llvm-svn: 64886
      c96e0c43
    • Chris Lattner's avatar
      fix rdar://6597252: two exactly identical pointer types are always · 2c486605
      Chris Lattner authored
      compatible, even if they are weird implicit objc pointer types like
      Class.
      
      llvm-svn: 64885
      2c486605
  8. Feb 16, 2009
  9. Feb 14, 2009
  10. Feb 12, 2009
  11. Feb 11, 2009
  12. Feb 09, 2009
    • Douglas Gregor's avatar
      Make Sema::getTypeName return the opaque pointer of a QualType rather · 9817f4a7
      Douglas Gregor authored
      than a Decl, which gives us some more flexibility to express the
      results with the type system. There are no clients using this
      flexibility yet, but it's meant to be able to describe qualified names
      as written in the source (e.g., "foo::type") or template-ids that name
      a class template specialization (e.g., "std::vector<INT>").
      
      DeclSpec's TST_typedef has become TST_typename, to reflect its use to
      describe types found by name (that may or may not be typedefs). The
      type representation of a DeclSpec with TST_typename is an opaque
      QualType pointer. All users of TST_typedef, both direct and indirect,
      have been updated for these changes.
      
      llvm-svn: 64141
      9817f4a7
  13. Feb 07, 2009
  14. Feb 06, 2009
  15. Feb 04, 2009
Loading