diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-06-05 05:04:23 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-06-05 05:04:23 +0000 |
commit | 6a576ab708d3aa7d40e5d867ab1de5d3cb507553 (patch) | |
tree | e24705b477baeabe35cc9b07963f2e8195d126f0 /lib/CodeGen/ModuleBuilder.cpp | |
parent | 7fee4cded72e2e00956ea34172d9ecc420c3a39f (diff) |
When inferring the result type of a block based on a return statement
with a type-dependent expression, infer the placeholder type
'Context.DependentTy' to indicate that this is just a
placeholder. Fixes PR9982 / <rdar://problem/9486685>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132657 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions