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 | b347c76054a0a4b8e6d1fce44314f6daf3294c69 (patch) | |
| tree | 7eb1ef3b906edcea5be11c13faa8576bf3f6d41a /lib/CodeGen/CGExpr.cpp | |
| parent | 7c731f5ac7b995fe57c4bda87ed5f59c58a33eb5 (diff) | |
| download | clang-b347c76054a0a4b8e6d1fce44314f6daf3294c69.tar.gz clang-b347c76054a0a4b8e6d1fce44314f6daf3294c69.tar.bz2 clang-b347c76054a0a4b8e6d1fce44314f6daf3294c69.tar.xz | |
[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>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
