aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-02-18 22:29:55 +0000
committerDouglas Gregor <dgregor@apple.com>2011-02-18 22:29:55 +0000
commit813d8346529bf094eb2b249648906ba7fd226688 (patch)
treeb9917a37b5e050662f3c952de8d182a594965b1e /lib/CodeGen/BackendUtil.cpp
parent35eaa281af2ef2b5172746b35bac1509e17d513c (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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions