CFRefCount compile failure

As of the latest svn, CFRefCount no longer compiles, complaining that the left side of a -> is a non-pointer type. This patch appears to fix it (although I only checked it compiles, not that it works, so please review carefully):

Index: lib/Analysis/CFRefCount.cpp

I have the same patch locally to work around this problem, but it's
not the right long-term solution. Someone, somewhere has operator->
implemented for that iterator but forgot to commit the change to the
LLVM repository.

  - Doug

Hi guys,

You need to update the LLVM tree (not the clang tree). The following patch (committed yesterday) added operator-> to ImmutableMap::iterator:

http://llvm.org/viewvc/llvm-project?rev=50603&view=rev

Ted