commit | cf4ce93caedca1d91ec5824981f9e45eda20b261 | [log] [tgz] |
---|---|---|
author | Jordan Rose <jordan_rose@apple.com> | Sat Oct 06 01:19:30 2012 +0000 |
committer | Jordan Rose <jordan_rose@apple.com> | Sat Oct 06 01:19:30 2012 +0000 |
tree | b90b7b014b80bd6b462b8c5050a4e69239a1595e | |
parent | d29245ce5ed1f6aee6f056c85ba77b009f11ee83 [diff] |
[analyzer] Handle implicit statements used for end-of-path nodes' source locs. Some implicit statements, such as the implicit 'self' inserted for "free" Objective-C ivar access, have invalid source locations. If one of these statements is the location where an issue is reported, we'll now look at the enclosing statements for a valid source location. <rdar://problem/12446776> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165354 91177308-0d34-0410-b5e6-96231b3b80d8