commit | 936a383311e776f86f9c2bf42958d42e8d1d127b | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Wed Aug 17 01:02:18 2016 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Wed Aug 17 01:02:18 2016 +0000 |
tree | 4d5fb20f8ef6a3b829c165935a020942e683af96 | |
parent | 4a3738ebeb2d300bec8acfc7a096c00b68d8cbb5 [diff] |
ObjCARC: Don't increment or dereference end() when scanning args When there's only one argument and it doesn't match one of the known functions, return ARCInstKind::CallOrUser rather than falling through to the two argument case. The old behaviour both incremented past and dereferenced end(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278881 91177308-0d34-0410-b5e6-96231b3b80d8