diff options
author | Chris Lattner <sabre@nondot.org> | 2009-05-13 00:55:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-05-13 00:55:26 +0000 |
commit | f160b5f9e1dac84896494398e49dbbd4d76d1860 (patch) | |
tree | b0ee07d482a7efef6051380239cfff3143e65c5f /clang/lib/CodeGen/CGBlocks.cpp | |
parent | d9d6e6e03940652cc43c4b7f28853a3db09893a2 (diff) | |
download | bcm5719-llvm-f160b5f9e1dac84896494398e49dbbd4d76d1860.tar.gz bcm5719-llvm-f160b5f9e1dac84896494398e49dbbd4d76d1860.zip |
When we expect two arguments but have zero, make sure to add
two empty arguments. Also, add an assert so that this bug
manifests as an assertion failure, not a valgrind problem.
This fixes rdar://6880648 - [cpp] crash in ArgNeedsPreexpansion
llvm-svn: 71616
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.cpp')
0 files changed, 0 insertions, 0 deletions