PR43674: fix incorrect constant evaluation of 'switch' where no case
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 15 Oct 2019 22:23:11 +0000 (22:23 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 15 Oct 2019 22:23:11 +0000 (22:23 +0000)
commit61dadfc894c566ce0af6163159ba0ba76d8007ad
tree564b176c531c3550ef041eaa6de2a0557c6a0fb0
parent208e9c01fc094cedbcf47f39a902cff13dce0039
PR43674: fix incorrect constant evaluation of 'switch' where no case
label corresponds to the condition.

llvm-svn: 374954
clang/lib/AST/ExprConstant.cpp
clang/test/SemaCXX/constant-expression-cxx1y.cpp