summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PostRASchedulerList.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-10-01 23:25:31 +0000
committerDouglas Gregor <dgregor@apple.com>2009-10-01 23:25:31 +0000
commit78b691a458a76a8e06fce5e7fa9681a4aa988c40 (patch)
tree368b80c3a78c534bc999b8014de89524505defad /llvm/lib/CodeGen/PostRASchedulerList.cpp
parent017460ab6c6550395e17763bd62d449586f79ab9 (diff)
downloadbcm5719-llvm-78b691a458a76a8e06fce5e7fa9681a4aa988c40.tar.gz
bcm5719-llvm-78b691a458a76a8e06fce5e7fa9681a4aa988c40.zip
When the return type of a function is dependent, don't perform any
of the flow-control checks for falling off the end of a function, since the return type may instantiate to void. Similarly, if a return statement has an expression and the return type of the function is void, don't complain if the expression is type-dependent, since that type could instantiate to void. Fixes PR5071. llvm-svn: 83222
Diffstat (limited to 'llvm/lib/CodeGen/PostRASchedulerList.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud