]> granicus.if.org Git - clang/commit
Part three of PR15721: if we have an invalid CXXDefaultInitExpr, don't crash if
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 13 Sep 2013 20:51:45 +0000 (20:51 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 13 Sep 2013 20:51:45 +0000 (20:51 +0000)
commit1fca547913774c6c547a15414d1a7051c1f446b5
treeb4785e680a2f31afefbff55521304b2bf70ad58f
parentb445cb9662067b7c7586815937b07828ede9bb49
Part three of PR15721: if we have an invalid CXXDefaultInitExpr, don't crash if
we try to constant-evaluate it. Patch by Karthik Bhat, test by me.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190722 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp
test/SemaCXX/constant-expression-cxx11.cpp