diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-02-18 22:29:55 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-02-18 22:29:55 +0000 |
commit | af2a6ae429e14c52c3712967bd859b715076445b (patch) | |
tree | ecd1dc5097f05f96ab87054323d8861eed60e07d /llvm/lib/Target/TargetLibraryInfo.cpp | |
parent | 7ba92d716ad48222067df38c7bb1ed59704cfb65 (diff) | |
download | bcm5719-llvm-af2a6ae429e14c52c3712967bd859b715076445b.tar.gz bcm5719-llvm-af2a6ae429e14c52c3712967bd859b715076445b.zip |
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
Diffstat (limited to 'llvm/lib/Target/TargetLibraryInfo.cpp')
0 files changed, 0 insertions, 0 deletions