| commit | 602cfe7d62578359e4ba8b29839712dce67fe7a4 | [log] [tgz] |
|---|---|---|
| author | David Majnemer <david.majnemer@gmail.com> | Thu Jan 01 09:49:44 2015 +0000 |
| committer | David Majnemer <david.majnemer@gmail.com> | Thu Jan 01 09:49:44 2015 +0000 |
| tree | 2b36887c897c942e0f253f0b265a0f87bb37b68b | |
| parent | 74ec80206597ce4b37ebfdb411a32178a0401d7c [diff] |
CodeGen: Don't crash when a lambda uses a local constexpr variable The DeclRefExpr might be for a variable initialized by a constant expression which hasn't been ODR used. Emit the initializer for the variable instead of trying to capture the variable itself. This fixes PR22071. llvm-svn: 225060