]> granicus.if.org Git - clang/commit
Don't assert on attempts to throw 'bool'. I wonder if in the history of C++
authorJohn McCall <rjmccall@apple.com>
Fri, 29 Oct 2010 08:14:02 +0000 (08:14 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 29 Oct 2010 08:14:02 +0000 (08:14 +0000)
commit14e1bc9201681a52e06b0544ee800b422f6f3efe
treedeb1010118b3530b961a305e1608596eb2830dcc
parent87a4ed905e2febe64021dcdfcdc7f00b27e92f32
Don't assert on attempts to throw 'bool'.  I wonder if in the history of C++
anyone has ever intentionally done this outside of a compiler test case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117645 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGException.cpp
test/CodeGenCXX/throw-expressions.cpp