summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-04-09 19:53:25 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-04-09 19:53:25 +0000
commitdf8f73fd8ae0aff10e456ec7317f20c997b195ce (patch)
tree386b349fae03f89a112cb95c5323700e379bc699 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parentbba0eaae076899981c56069aed9d3df89f11477f (diff)
downloadbcm5719-llvm-df8f73fd8ae0aff10e456ec7317f20c997b195ce.tar.gz
bcm5719-llvm-df8f73fd8ae0aff10e456ec7317f20c997b195ce.zip
[Sema] Diagnose references to unbound arrays in function definitions
A [*] is only allowed in a declaration for a function, not in its definition. We didn't correctly recurse on reference types while looking for it, causing us to crash in CodeGen instead of rejecting it. llvm-svn: 234528
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud