commit | 9d33c40838367ffcc3206a7120a0ce32922b66d8 | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Fri Oct 25 09:12:52 2013 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Fri Oct 25 09:12:52 2013 +0000 |
tree | bedd0b556b81399923f02e3c4d198df3e18da0fe | |
parent | 68eccccbbfc9d87b754df539f5b1343f4c499b63 [diff] |
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