<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Calling a +0 ref getting can incorrectly warn about pointer ownership"
   href="http://llvm.org/bugs/show_bug.cgi?id=19042">19042</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Calling a +0 ref getting can incorrectly warn about pointer ownership
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Static Analyzer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>kremenek@apple.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tjw@me.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=12184" name="attach_12184" title="example case">attachment 12184</a> <a href="attachment.cgi?id=12184&action=edit" title="example case">[details]</a></span>
example case

In several cases, I'm getting seemingly spurious clang-sa warnings about
releasing non-owned pointers. It seems to happen when a property is accessed
via a getter on the path to releasing the backing ivar:

- (void)dealloc;
{
    [self.object self];
    [_object release];
    [super dealloc];
}

See the attached sample for a reproducible case.

clang version 3.5.0 (trunk 202861)
Target: x86_64-apple-darwin13.1.0
Thread model: posix</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>