summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-05-13 00:55:26 +0000
committerChris Lattner <sabre@nondot.org>2009-05-13 00:55:26 +0000
commitf160b5f9e1dac84896494398e49dbbd4d76d1860 (patch)
treeb0ee07d482a7efef6051380239cfff3143e65c5f /clang/lib/CodeGen/CGBlocks.cpp
parentd9d6e6e03940652cc43c4b7f28853a3db09893a2 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud