diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-05-30 18:14:27 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-05-30 18:14:27 +0000 |
commit | 278d9de314b713933a37de186804593e2bf5becf (patch) | |
tree | f3dc700ed92dec7918f4847797505155dd450f1c /llvm/lib/MC/MCObjectSymbolizer.cpp | |
parent | 4c9a38a47ad73ef8a88f2ff577705100a9c61726 (diff) | |
download | bcm5719-llvm-278d9de314b713933a37de186804593e2bf5becf.tar.gz bcm5719-llvm-278d9de314b713933a37de186804593e2bf5becf.zip |
[analyzer] Don't crash if a block's signature just has the return type.
It is okay to declare a block without an argument list: ^ {} or ^void {}.
In these cases, the BlockDecl's signature-as-written will just contain
the return type, rather than the entire function type. It is unclear if
this is intentional, but the analyzer shouldn't crash because of it.
<rdar://problem/14018351>
llvm-svn: 182948
Diffstat (limited to 'llvm/lib/MC/MCObjectSymbolizer.cpp')
0 files changed, 0 insertions, 0 deletions