commit | a3f5a5afefca7653349a88472d5ce01ba7226e27 | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Sat Jun 08 00:29:24 2013 +0000 |
committer | Anna Zaks <ganna@apple.com> | Sat Jun 08 00:29:24 2013 +0000 |
tree | 2c22a4a2a5a072befc334377e75eadb0fd88d7c5 | |
parent | 9aaee92faa84a54a78cc298b1d281c4bce39c122 [diff] |
[analyzer; alternate edges] Fix the edge locations in presence of macros. We drew the diagnostic edges to wrong statements in cases the note was on a macro. The fix is simple, but seems to work just fine for a whole bunch of test cases (plist-macros.cpp). Also, removes an unnecessary edge in edges-new.mm, when function signature starts with a macro. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183599 91177308-0d34-0410-b5e6-96231b3b80d8