]> granicus.if.org Git - clang/commit
After instantiating a 'noexcept' expression, be sure to convert it to
authorDouglas Gregor <dgregor@apple.com>
Sun, 9 Oct 2011 18:31:23 +0000 (18:31 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sun, 9 Oct 2011 18:31:23 +0000 (18:31 +0000)
commit5c340e803ed2e384ff47f3e560df253515c92e1e
tree2ab9b4c4c4a3b165a766f6282d8631466507c9f0
parent85035647bc4e6cc38cc399a7d30f9a8857f345fa
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
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/CXX/except/except.spec/p1.cpp