| commit | af2a6ae429e14c52c3712967bd859b715076445b | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <dgregor@apple.com> | Fri Feb 18 22:29:55 2011 +0000 |
| committer | Douglas Gregor <dgregor@apple.com> | Fri Feb 18 22:29:55 2011 +0000 |
| tree | ecd1dc5097f05f96ab87054323d8861eed60e07d | |
| parent | 7ba92d716ad48222067df38c7bb1ed59704cfb65 [diff] |
Selector::getIdentifierInfoForSlot() can return NULL values, a fact that was ignored in a few places (most notably, code completion). Introduce Selector::getNameForSlot() for the common case where we only care about the name. Audit all uses of getIdentifierInfoForSlot(), switching many over to getNameForSlot(), fixing a few crashers. Fixed <rdar://problem/8939352>, a code-completion crasher. llvm-svn: 125977