Skip to content
  1. May 26, 2012
  2. May 25, 2012
  3. May 24, 2012
  4. May 23, 2012
    • Richard Smith's avatar
      Correct the starting location for instantiations of field declarations which · 47ad0171
      Richard Smith authored
      start with a cv-qualifier. DeclaratorDecl::getTypeSpecStartLoc() does not
      produce the location of the first type-specifier (the cv-qualifier) in this
      case, because we don't track source locations for cv-qualifiers.
      
      No test here: I've not found a way to test this with a lit-style test, and
      introducing a gtest test for this seems unwarranted. Suggestions welcome!
      
      Patch by Daniel Jasper!
      
      llvm-svn: 157311
      47ad0171
  5. May 22, 2012
  6. May 21, 2012
  7. May 20, 2012
  8. May 19, 2012
  9. May 18, 2012
  10. May 17, 2012
  11. May 16, 2012
  12. May 15, 2012
    • David Blaikie's avatar
      Don't warn when NULL is used within a macro but its conversion is outside a macro. · 18e9ac79
      David Blaikie authored
      This fixes the included test case & was reported by Nico Weber.
      
      It's a little bit nasty using the difference in the conversion context, but
      seems to me like a not unreasonable solution. I did have to fix up the
      conversion context for conditional operators (it seems correct to me to include
      the context for which we're actually doing the comparison - across all the
      nested conditionals, rather than the innermost conditional which might not
      actually have the problematic implicit conversion at all) and template default
      arguments (this is a bit of a hack, since we don't have the source location of
      the '=' anymore, so I just used the start of the parameter - open to
      suggestions there)
      
      llvm-svn: 156861
      18e9ac79
    • Argyrios Kyrtzidis's avatar
      Allow objc @() syntax for enum types. · 8e6951d8
      Argyrios Kyrtzidis authored
      Previously we would reject it as illegal using a value of
      enum type and on ObjC++ it was illegal to use an enumerator
      as well.
      
      rdar://11454917
      
      llvm-svn: 156843
      8e6951d8
    • Fariborz Jahanian's avatar
      objc: avoid duplicate diagnostics on certain type mismatches · 3da7775a
      Fariborz Jahanian authored
      between property and its backing ivar.
      
      llvm-svn: 156832
      3da7775a
Loading