summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objdump/llvm-objdump.h
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2015-01-04 20:32:12 +0000
committerNico Weber <nicolasweber@gmx.de>2015-01-04 20:32:12 +0000
commit49e6bc024d0269f580e8601aecf17eaf5537df50 (patch)
tree3b13a6f2eceb700c87a1fc68bec60c3a5bb12dd3 /llvm/tools/llvm-objdump/llvm-objdump.h
parent1e94ef5bd09cc47f335d26a98469ca70c4226900 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud