Skip to content
Commit f160b5f9 authored by Chris Lattner's avatar Chris Lattner
Browse files

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
parent d9d6e6e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment