diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-10-01 23:25:31 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-10-01 23:25:31 +0000 |
| commit | 78b691a458a76a8e06fce5e7fa9681a4aa988c40 (patch) | |
| tree | 368b80c3a78c534bc999b8014de89524505defad /llvm/lib/CodeGen/PostRASchedulerList.cpp | |
| parent | 017460ab6c6550395e17763bd62d449586f79ab9 (diff) | |
| download | bcm5719-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

