commit | 5c340e803ed2e384ff47f3e560df253515c92e1e | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Sun Oct 09 18:31:23 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Sun Oct 09 18:31:23 2011 +0000 |
tree | 2ab9b4c4c4a3b165a766f6282d8631466507c9f0 | |
parent | 85035647bc4e6cc38cc399a7d30f9a8857f345fa [diff] |
After instantiating a 'noexcept' expression, be sure to convert it to a boolean value and check that it is a constant expression. Fixes PR11084. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141511 91177308-0d34-0410-b5e6-96231b3b80d8