diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-08-17 01:02:18 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-08-17 01:02:18 +0000 |
commit | 6331dc171c9f91876c28acf0a2396af1b2e9bd2f (patch) | |
tree | 650cd13c6e0aaf914248401654e67457d74cdc3d /llvm/lib/Object/SymbolicFile.cpp | |
parent | ec083b59edf0cbf0855527c753d9053bcdba33da (diff) | |
download | llvm-6331dc171c9f91876c28acf0a2396af1b2e9bd2f.zip llvm-6331dc171c9f91876c28acf0a2396af1b2e9bd2f.tar.gz llvm-6331dc171c9f91876c28acf0a2396af1b2e9bd2f.tar.bz2 |
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().
llvm-svn: 278881
Diffstat (limited to 'llvm/lib/Object/SymbolicFile.cpp')
0 files changed, 0 insertions, 0 deletions