]> granicus.if.org Git - clang/commit
Fix treatment of case which came up on std-proposals@: 'void' is permitted in core...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 1 Oct 2012 20:36:17 +0000 (20:36 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 1 Oct 2012 20:36:17 +0000 (20:36 +0000)
commit01cad02220180b9646525295f502c00c64a172d0
tree7f67b1431b7c566eb0b5d658835b8ec9338041b6
parentc4a839101e883261d038a1d5ea718dd46abd1d2d
Fix treatment of case which came up on std-proposals@: 'void' is permitted in core constant expressions, despite not being a literal type.

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