diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2013-10-25 09:12:52 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2013-10-25 09:12:52 +0000 |
| commit | 9d33c40838367ffcc3206a7120a0ce32922b66d8 (patch) | |
| tree | bedd0b556b81399923f02e3c4d198df3e18da0fe /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 68eccccbbfc9d87b754df539f5b1343f4c499b63 (diff) | |
| download | clang-9d33c40838367ffcc3206a7120a0ce32922b66d8.tar.gz clang-9d33c40838367ffcc3206a7120a0ce32922b66d8.tar.bz2 clang-9d33c40838367ffcc3206a7120a0ce32922b66d8.tar.xz | |
Sema: Do not allow lambda expressions to appear inside of constant expressions
We would previously not diagnose this which would lead to crashes (on
very strange code).
This fixes PR17675.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193397 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
