]> granicus.if.org Git - clang/commit
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)
commited4dbd72ed336ea1b7ae8a2165bc0f7b3eccb31c
tree114dd132858492a5852f72919cf84b7adfd8531b
parent5e5092b6825108321f5964376baef9fb136419db
PR43674: fix incorrect constant evaluation of 'switch' where no case
label corresponds to the condition.

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