diff options
author | Nico Weber <nicolasweber@gmx.de> | 2015-01-04 20:32:12 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2015-01-04 20:32:12 +0000 |
commit | 49e6bc024d0269f580e8601aecf17eaf5537df50 (patch) | |
tree | 3b13a6f2eceb700c87a1fc68bec60c3a5bb12dd3 /llvm/tools/llvm-objdump/llvm-objdump.h | |
parent | 1e94ef5bd09cc47f335d26a98469ca70c4226900 (diff) | |
download | bcm5719-llvm-49e6bc024d0269f580e8601aecf17eaf5537df50.tar.gz bcm5719-llvm-49e6bc024d0269f580e8601aecf17eaf5537df50.zip |
Remove an assert that's not true on invalid code.
r185773 added an assert that checked that a CXXUnresolvedConstructExpr either
has a valid rparen, or exactly one argument. This doesn't have to be true for
invalid inputs. Convert the assert to an if, and add a test for this case.
Found by SLi's afl bot.
llvm-svn: 225140
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.h')
0 files changed, 0 insertions, 0 deletions